@Test public void keywordCallNameIsTakenFromTemplateIfProvided() { final RobotExecutableRow<UserKeyword> executable = new RobotExecutableRow<>(); final ExecutableWithDescriptor execDescriptor = new ExecutableWithDescriptor(executable, mock(IExecutableRowDescriptor.class), "template"); assertThat(execDescriptor.getCalledKeywordName()).isEqualTo("template"); }
String getCalledKeywordName() { return template != null ? template : getDescriptor().getKeywordAction().getText(); }
ExecutableWithDescriptor { String getCalledKeywordName() { return template != null ? template : getDescriptor().getKeywordAction().getText(); } }
ExecutableWithDescriptor { String getCalledKeywordName() { return template != null ? template : getDescriptor().getKeywordAction().getText(); } ExecutableWithDescriptor(final RobotExecutableRow<?> executable, final IExecutableRowDescriptor<?> descriptor,
            final String template);   ExecutableWithDescriptor(final ForLoop loopExecutable, final String template); }
ExecutableWithDescriptor { String getCalledKeywordName() { return template != null ? template : getDescriptor().getKeywordAction().getText(); } ExecutableWithDescriptor(final RobotExecutableRow<?> executable, final IExecutableRowDescriptor<?> descriptor,
            final String template);   ExecutableWithDescriptor(final ForLoop loopExecutable, final String template);  }
ExecutableWithDescriptor { String getCalledKeywordName() { return template != null ? template : getDescriptor().getKeywordAction().getText(); } ExecutableWithDescriptor(final RobotExecutableRow<?> executable, final IExecutableRowDescriptor<?> descriptor,
            final String template);   ExecutableWithDescriptor(final ForLoop loopExecutable, final String template);   }