assertEquals(false, termination.isSolverTerminated(phaseScope));
assertEquals(0.0, termination.calculateSolverTimeGradient(phaseScope), 0.0);
when(phaseScope.calculateTimeMillisSpent()).thenReturn(100L);
assertEquals(false, termination.isSolverTerminated(phaseScope));
assertEquals(0.1, termination.calculateSolverTimeGradient(phaseScope), 0.0);
when(phaseScope.calculateTimeMillisSpent()).thenReturn(500L);
assertEquals(false, termination.isSolverTerminated(phaseScope));
assertEquals(0.5, termination.calculateSolverTimeGradient(phaseScope), 0.0);
when(phaseScope.calculateTimeMillisSpent()).thenReturn(700L);
assertEquals(false, termination.isSolverTerminated(phaseScope));
assertEquals(0.7, termination.calculateSolverTimeGradient(phaseScope), 0.0);