public void testRemoveSPOCallsGraphDeleteTriple()
{
Graph base = Factory.createDefaultGraph();
final List<Triple> deleted = new ArrayList<Triple>();
Graph wrapped = new WrappedGraph( base )
{ @Override
public void delete( Triple t ) { deleted.add( t ); } };
Model m = new ModelCom( wrapped );
m.remove( resource( "R" ), property( "P" ), rdfNode( m, "17" ) );
assertEquals( listOfOne( NodeCreateUtils.createTriple( "R P 17" ) ), deleted );