@Test
    void failing_task_is_immediately_completed() throws Exception {
        RemoteTaskFixture fixture = createDefaultFixture();
        MockTask task = fixture.scheduleFailingVersionDependentTaskWithSideEffects();

        assertTrue(task.isInvoked());
        assertTrue(task.isCompleted());
    }
Class for testing states of all nodes. Will fail in constructor with
debug message on non-expected results.
clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/StateChangeTest.java