@Test public void negativeMatchingForCallsExample() { final RobotExecutableRow<Object> row = new RobotExecutableRow<>(); row.setParent(new TestCase(RobotToken.create("test"))); row.setAction(RobotToken.create(":FOR", RobotTokenType.FOR_TOKEN)); row.addArgument(RobotToken.create("${x}")); row.addArgument(RobotToken.create("IN", RobotTokenType.IN_TOKEN)); row.addArgument(RobotToken.create("${XS}")); final IExecutableRowDescriptor<?> desc = row.buildLineDescription(); assertThat(CallChecker.isSameForLoop((ForLoopDeclarationRowDescriptor<?>) desc, new RunningKeyword(null, "${y} IN [ ${YS} ]", null))).isFalse(); }
static boolean isSameForLoop(final ForLoopDeclarationRowDescriptor<?> descriptor, final RunningKeyword keyword) { return keyword.getName().equals(createName(descriptor)); }
CallChecker { static boolean isSameForLoop(final ForLoopDeclarationRowDescriptor<?> descriptor, final RunningKeyword keyword) { return keyword.getName().equals(createName(descriptor)); } }
CallChecker { static boolean isSameForLoop(final ForLoopDeclarationRowDescriptor<?> descriptor, final RunningKeyword keyword) { return keyword.getName().equals(createName(descriptor)); }  }
CallChecker { static boolean isSameForLoop(final ForLoopDeclarationRowDescriptor<?> descriptor, final RunningKeyword keyword) { return keyword.getName().equals(createName(descriptor)); }   }
CallChecker { static boolean isSameForLoop(final ForLoopDeclarationRowDescriptor<?> descriptor, final RunningKeyword keyword) { return keyword.getName().equals(createName(descriptor)); }    }