AbstractStepScope stepScopeA1 = mock(AbstractStepScope.class);
when(stepScopeA1.getPhaseScope()).thenReturn(phaseScopeA);
placer.stepStarted(stepScopeA1);
assertAllCodesOfIterator(placementIterator.next().iterator(),
"a1", "a2", "b1");
placer.stepEnded(stepScopeA1);
assertTrue(placementIterator.hasNext());
AbstractStepScope stepScopeA2 = mock(AbstractStepScope.class);
when(stepScopeA2.getPhaseScope()).thenReturn(phaseScopeA);
placer.stepStarted(stepScopeA2);