@Test
public void testAtLeastOneContainerCanBeScheduled() {

    when(schedulerConfiguration.getMaxLaunchingTasksPerMachine()).thenReturn(0);
    ConstraintEvaluator.Result result = constraint.evaluate(
            createTaskRequest(TASK_ID),
            createVirtualMachineCurrentStateMock(INSTANCE_ID, Collections.emptyList(), Collections.emptyList()),
            taskTrackerState);
    assertThat(result.isSuccessful()).isTrue();
}