/** * Test helps PUTs some data, verifies that it is visible, DELETEs the data, * and then verifies that it is gone. * * @param format * The interchange format. */ protected void doDeleteWithPostTest(final RDFFormat format) throws Exception { doInsertWithBodyTest("POST", 23, /*requestPath,*/ format); assertEquals(23, countAll()); doDeleteWithBody(/*requestPath,*/ 23, format); // No solutions (assuming a told triple kb or quads kb w/o axioms). assertEquals(0, countAll()); }
/** * Test helps PUTs some data, verifies that it is visible, DELETEs the data, * and then verifies that it is gone. * * @param format * The interchange format. */ protected void doDeleteWithPostTest(final RDFFormat format) throws Exception { doInsertWithBodyTest("POST", 23, /*requestPath,*/ format); assertEquals(23, countAll()); doDeleteWithBody(/*requestPath,*/ 23, format); // No solutions (assuming a told triple kb or quads kb w/o axioms). assertEquals(0, countAll()); }