@Test
public void testSetParent() throws Exception {

  OutputStream outputStream = mock( OutputStream.class );
  stream.setParent( outputStream );
  assertEquals( outputStream, stream.getParent() );
}