CommentReader extends CommentMapper { protected boolean isBlank() { return this.trim.isEmpty(); } protected  CommentReader(final YamlConfigurationOptions options, final Reader reader);   }
@Test void isBlank() throws IOException { final StringReader reader = new StringReader(CommentReaderTest.COMMENT); final YamlConfiguration configuration = new YamlConfiguration(); final YamlConfigurationOptions options = new TestYamlConfigurationOptions(configuration); final CommentReader commentReader = new CommentReader(options, reader); commentReader.nextLine(); final boolean blank = commentReader.isBlank(); MatcherAssert.assertThat( "The text is blank!", blank, new IsNot<>(new IsTrue()) ); }