testWriterAbsent(TestRDFWriterMap.N3_TRIPLES);
}
public void testWritersPresent()
{
final RDFWriterF x = new RDFWriterMap(true);
Assert.assertEquals(N3TurtleJenaWriter.class,
x.getWriter(TestRDFWriterMap.TURTLE_WRITER).getClass());
Assert.assertEquals(N3TurtleJenaWriter.class,
x.getWriter(TestRDFWriterMap.TURTLE_WRITER_ALT1).getClass());
Assert.assertEquals(N3TurtleJenaWriter.class,
x.getWriter(TestRDFWriterMap.TURTLE_WRITER_ALT2).getClass());
Assert.assertEquals(Basic.class, x.getWriter(TestRDFWriterMap.RDF_XML)
.getClass());
Assert.assertEquals(Abbreviated.class,
x.getWriter(TestRDFWriterMap.RDF_XML_ABBREV).getClass());
Assert.assertEquals(NTripleWriter.class,
x.getWriter(TestRDFWriterMap.NTRIPLE).getClass());
Assert.assertEquals(NTripleWriter.class,
x.getWriter(TestRDFWriterMap.NTRIPLES).getClass());
Assert.assertEquals(N3JenaWriter.class, x
.getWriter(TestRDFWriterMap.N3).getClass());
Assert.assertEquals(N3JenaWriterPP.class,
x.getWriter(TestRDFWriterMap.N3_PP).getClass());
Assert.assertEquals(N3JenaWriterPlain.class,
x.getWriter(TestRDFWriterMap.N3_PLAIN).getClass());
Assert.assertEquals(N3JenaWriterTriples.class,
x.getWriter(TestRDFWriterMap.N3_TRIPLE).getClass());
Assert.assertEquals(N3JenaWriterTriples.class,
x.getWriter(TestRDFWriterMap.N3_TRIPLES).getClass());
}