@Test public void updateWrite22() { test("PREFIX : <http://example/> DELETE {} INSERT {} USING NAMED :GN WHERE {}") ; }
@Test public void updateWrite23() { test("PREFIX : <http://example/> WITH :ABC DELETE {} INSERT {} WHERE {}") ; }
private void test(String updateString) {
UpdateRequest update1 = UpdateFactory.create(updateString);
IndentedLineBuffer w = new IndentedLineBuffer() ;
UpdateWriter.output(update1, w) ;
String s = w.asString() ;
UpdateRequest update2 = UpdateFactory.create(s);
assertTrue(update1.equalTo(update2)) ;
}