+ @Test
+ public void testLogMessageExtractorCheck() throws Exception {
+ File logMessageReport = LogMessageExtractorCheck.DEFAULT_REPORT_FILE;
+ logMessageReport.delete();
+ verify(CheckLoggingTestClass.class, false);
+ List<String> reportLines = Files.readLines(logMessageReport, Charsets.UTF_8);
+ assertEquals(6, reportLines.size());
+ assertEquals("src/test/java/org/opendaylight/yangtools/checkstyle/CheckLoggingTestClass.java:27:\"foo {} {}\"", reportLines.get(0));
+ // TODO assertEquals("src/test/java/org/opendaylight/yangtools/checkstyle/CheckLoggingTestClass.java:28:\"foo {} bar {}\"", reportLines.get(1));
+ }