IO_JenaWriters { public static void wireIntoJena() { if ( isWiredIn ) return ; isWiredIn = true ; RDFWriterFImpl.alternative(new RDFWriterFactoryRIOT()); }  static void wireIntoJena(); static void resetJena(); @Deprecated static void registerForModelWrite(String name, Class<?> cls);  }
@Test public void testWireIntoJena() { IO_Jena.wireIntoJena(); RDFWriterF writerF = new RDFWriterFImpl(); assertEquals(RDFWriterRIOT.class, writerF.getWriter().getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("RDF/XML").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("RDF/XML-ABBREV").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("N-TRIPLE").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("N-Triples").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("N-TRIPLE").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("NT").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("N3").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("TURTLE").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("Turtle").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("TTL").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("RDF/JSON").getClass()); assertEquals(RDFWriterRIOT.class, writerF.getWriter("RDFJSON").getClass()); }