@Test public void theExecutableOfForLoop_isTheExecutableOfLoopHeader() { final RobotExecutableRow<?> executable = new RobotExecutableRow<>(); final ExecutableWithDescriptor loopHeader = mock(ExecutableWithDescriptor.class); when(loopHeader.getExecutable()).thenReturn((RobotExecutableRow) executable); final ForLoop forLoop = new ForLoop(loopHeader, newArrayList()); assertThat(forLoop.getExecutable()).isSameAs(executable); }
RobotExecutableRow<?> getExecutable() { return loopHeader.getExecutable(); }
ForLoop { RobotExecutableRow<?> getExecutable() { return loopHeader.getExecutable(); } }
ForLoop { RobotExecutableRow<?> getExecutable() { return loopHeader.getExecutable(); } ForLoop(final ExecutableWithDescriptor loopHeader, final List<ExecutableWithDescriptor> executables); }
ForLoop { RobotExecutableRow<?> getExecutable() { return loopHeader.getExecutable(); } ForLoop(final ExecutableWithDescriptor loopHeader, final List<ExecutableWithDescriptor> executables);  }
ForLoop { RobotExecutableRow<?> getExecutable() { return loopHeader.getExecutable(); } ForLoop(final ExecutableWithDescriptor loopHeader, final List<ExecutableWithDescriptor> executables);   }