);
compositeTH1.close();
logger.debug("Out1: " + baos.toString());
Assert.assertEquals("Unexpected number of triples.", EXPECTED_TRIPLES + 3, cth1.getCount() );
baos.reset();
CountingTripleHandler cth2 = new CountingTripleHandler();
NTriplesWriter ctw2 = new NTriplesWriter(baos);
CompositeTripleHandler compositeTH2 = new CompositeTripleHandler();
compositeTH2.addChild(cth2);
compositeTH2.addChild(ctw2);