@Override
	void toHtml() throws IOException {
		writeHtmlHeader();
		htmlCoreReport.toHtml();
		writeHtmlFooter();
	}
@Test
	public void testToHtmlWithSession() throws IOException {
		final HttpSession session = createNiceMock(HttpSession.class);
		replay(session);
		try {
			SessionListener.bindSession(session);
			final HtmlReport htmlReport = new HtmlReport(collector, null, javaInformationsList,
					Period.TOUT, writer);
			htmlReport.toHtml();
			assertNotEmptyAndClear(writer);
		} finally {
			SessionListener.unbindSession();
		}
		verify(session);
	}