when(stepScopeB2.getPhaseScope()).thenReturn(phaseScopeB);
valueSelector.stepStarted(stepScopeB2);
assertAllCodesOfValueSelectorForEntity(valueSelector, a2, PlannerAssert.DO_NOT_ASSERT_SIZE, "a0", "a1", "a2");
valueSelector.stepEnded(stepScopeB2);
valueSelector.phaseEnded(phaseScopeB);
valueSelector.solvingEnded(solverScope);
verifyPhaseLifecycle(childValueSelector, 1, 2, 4);
verify(childValueSelector, times(4)).iterator(any());