@Test public void errorMessageIsReturned() { assertThat(new KeywordUnknownContext("error").getErrorMessage()).contains("error"); }
@Override public Optional<String> getErrorMessage() { return Optional.of(errorMessage); }
KeywordUnknownContext extends KeywordContext { @Override public Optional<String> getErrorMessage() { return Optional.of(errorMessage); } }
KeywordUnknownContext extends KeywordContext { @Override public Optional<String> getErrorMessage() { return Optional.of(errorMessage); } KeywordUnknownContext(final String errorMessage); }
KeywordUnknownContext extends KeywordContext { @Override public Optional<String> getErrorMessage() { return Optional.of(errorMessage); } KeywordUnknownContext(final String errorMessage); @Override boolean isErroneous(); @Override Optional<String> getErrorMessage(); @Override Optional<URI> getAssociatedPath(); @Override Optional<FileRegion> getFileRegion(); @Override StackFrameContext moveTo(final RunningKeyword keyword, final RobotBreakpointSupplier breakpointSupplier); }
KeywordUnknownContext extends KeywordContext { @Override public Optional<String> getErrorMessage() { return Optional.of(errorMessage); } KeywordUnknownContext(final String errorMessage); @Override boolean isErroneous(); @Override Optional<String> getErrorMessage(); @Override Optional<URI> getAssociatedPath(); @Override Optional<FileRegion> getFileRegion(); @Override StackFrameContext moveTo(final RunningKeyword keyword, final RobotBreakpointSupplier breakpointSupplier);  }