@Test(expected = IllegalArgumentException.class) public void unknown_type_of_comments() { analyser.getContents(""); }
@Override public String getContents(String comment) { if (comment.startsWith("#")) { return comment.substring(1, comment.length()); } else { throw new IllegalArgumentException(); } }
GherkinCommentAnalyser extends CommentAnalyser { @Override public String getContents(String comment) { if (comment.startsWith("#")) { return comment.substring(1, comment.length()); } else { throw new IllegalArgumentException(); } } }
GherkinCommentAnalyser extends CommentAnalyser { @Override public String getContents(String comment) { if (comment.startsWith("#")) { return comment.substring(1, comment.length()); } else { throw new IllegalArgumentException(); } }  }
GherkinCommentAnalyser extends CommentAnalyser { @Override public String getContents(String comment) { if (comment.startsWith("#")) { return comment.substring(1, comment.length()); } else { throw new IllegalArgumentException(); } }  @Override boolean isBlank(String line); @Override String getContents(String comment); }
GherkinCommentAnalyser extends CommentAnalyser { @Override public String getContents(String comment) { if (comment.startsWith("#")) { return comment.substring(1, comment.length()); } else { throw new IllegalArgumentException(); } }  @Override boolean isBlank(String line); @Override String getContents(String comment);  }