@Test public void trig_02()
{
Tokenizer tokenizer = TokenizerFactory.makeTokenizerString("<g> { <x> <p> <q> }") ;
CatchParserOutput sink = new CatchParserOutput() ;
LangRIOT parser = RiotReader.createParserTriG(tokenizer, "http://base/", sink) ;
parserSetup(parser) ;
parser.parse();
assertEquals(1, sink.startCalled) ;
assertEquals(1, sink.finishCalled) ;
assertEquals(0, sink.triples.size()) ;
assertEquals(1, sink.quads.size()) ;
assertEquals(0, sink.tuples.size()) ;