@Test(expected = IOException.class)
public void testReadDictionary_onlyCommentLineThrows() throws Exception {

    final String simpleConfigWithComment = "# some comment";
    DefaultSlingSimulator.readDictionary(
            new ByteArrayInputStream(simpleConfigWithComment.getBytes(StandardCharsets.UTF_8)), "simple.config");
}