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