question: protected void assertFileContent ( String expectedContent , File actual ) throws IOException { String actualContent = new String ( Files . readAllBytes ( actual . toPath ( ) ) , StandardCharsets . UTF_8 ) ; Assert . assertEquals ( expectedContent , actualContent ) ; }
target:  Asserts that the given resource from the src/test/resources directory has the same content as the given file. 