@Test
public void testFlush() throws IOException {

	MarkerOutputStream markerOutputStream = new MarkerOutputStream();
	OutputStreamWriter outputStreamWriter = new OutputStreamWriter(
		markerOutputStream);
	Assert.assertFalse(markerOutputStream._flushed);
	outputStreamWriter.flush();
	Assert.assertTrue(markerOutputStream._flushed);
	outputStreamWriter.write('a');
	outputStreamWriter.flush();
	Assert.assertTrue(markerOutputStream._flushed);
}