DefaultSolverScope solverScope = mock(DefaultSolverScope.class);
placer.solvingStarted(solverScope);
AbstractPhaseScope phaseScopeA = mock(AbstractPhaseScope.class);
when(phaseScopeA.getSolverScope()).thenReturn(solverScope);
placer.phaseStarted(phaseScopeA);
Iterator<Placement> placementIterator = placer.iterator();
assertEquals(true, placementIterator.hasNext());
AbstractStepScope stepScopeA1 = mock(AbstractStepScope.class);
when(stepScopeA1.getPhaseScope()).thenReturn(phaseScopeA);