given().header("Accept",format.getDefaultMIMEType()).expect().statusCode(200).when().get(resource1.stringValue());
// test if we can delete the resource and then it is no longer there
expect().statusCode(200).when().delete(resource1.stringValue());
given().header("Accept",format.getDefaultMIMEType()).expect().statusCode(404).when().get(resource1.stringValue());
RepositoryConnection mcon2 = sesameService.getConnection();
try {
Assert.assertFalse("resource was not properly deleted", mcon2.hasStatement(resource1,null,null,true));