// assertTrue(graphEmpty(graph)) ;
// }
@Test public void testUpdateInitialBinding4()
{
GraphStore gStore = getEmptyGraphStore() ;
defaultGraphData(gStore, graph1) ;
String update = "DELETE WHERE { ?x <http://example/p> 2007 } ; INSERT { ?x <http://example/p> 1999 } WHERE {}" ;
UpdateRequest req = UpdateFactory.create(update) ;
Binding b = BindingFactory.binding(Var.alloc("x"), s) ;
UpdateAction.execute(req, gStore, b) ;
assertEquals(1, gStore.getDefaultGraph().size()) ;
assertTrue(gStore.getDefaultGraph().contains(s, p, NodeFactory.parseNode("1999"))) ;
}