@Test public void isCommentLine_ShouldReturnFalse_IfLineIsValid() throws Exception { String testLine = "this is not a comment"; assertThat(subject.isCommentLine(testLine)).isFalse(); }
boolean isCommentLine(String subject) { return subject.startsWith("#") || "".equals(subject); }
ProfileParserImpl implements ProfileParser { boolean isCommentLine(String subject) { return subject.startsWith("#") || "".equals(subject); } }
ProfileParserImpl implements ProfileParser { boolean isCommentLine(String subject) { return subject.startsWith("#") || "".equals(subject); }  }
ProfileParserImpl implements ProfileParser { boolean isCommentLine(String subject) { return subject.startsWith("#") || "".equals(subject); }  @Override Optional<Profile> parseFile(Path path); }
ProfileParserImpl implements ProfileParser { boolean isCommentLine(String subject) { return subject.startsWith("#") || "".equals(subject); }  @Override Optional<Profile> parseFile(Path path); static final Pattern FORMAT_PATTERN; }