@Test
public void testGetWriter() throws IOException {

	CharPipe charPipe = new CharPipe();
	Writer writer1 = charPipe.getWriter();
	Writer writer2 = charPipe.getWriter();
	Assert.assertSame(writer1, writer2);
	writer1.flush();
	charPipe.close();
}