ForLoop { List<ExecutableWithDescriptor> getInnerExecutables() { return innerExecutables; } ForLoop(final ExecutableWithDescriptor loopHeader, final List<ExecutableWithDescriptor> executables);   }
@Test public void innerExecutablesAreReturnedAsProvidedToConstructor() { final ExecutableWithDescriptor loopHeader = mock(ExecutableWithDescriptor.class); final ExecutableWithDescriptor exec1 = mock(ExecutableWithDescriptor.class); final ExecutableWithDescriptor exec2 = mock(ExecutableWithDescriptor.class); final ForLoop forLoop = new ForLoop(loopHeader, newArrayList(exec1, exec2)); assertThat(forLoop.getInnerExecutables()).containsExactly(exec1, exec2); }