@Test
public void testFileToWriter() throws Exception {

    Writer writer = new StringWriter();
    Misc.fileToWriter(file.getName(), writer);
    assertEquals( "inside the lebron file", writer.toString());
}