@Test
@SuppressWarnings("DefaultCharset")
public void testValidHtmlFile() throws IOException {

    final ByteArrayOutputStream outStream = new ByteArrayOutputStream();
    this.viewer.displayFile(this.fs, getResourcePath(VALID_HTML), outStream, 1, 2);
    final String output = new String(outStream.toByteArray());
    assertEquals(output, "<p>file content</p>\n");
}