Commit 14068b5d authored by Marshall McDonnell's avatar Marshall McDonnell

Adds failing delete method test to BATS

Signed-off-by: default avatarMarshall McDonnell <>
parent f229eb45
......@@ -11,7 +11,11 @@
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static;
import java.util.UUID;
......@@ -115,6 +119,28 @@ public class ITDataSet {
* This operation checks data set deletion
* @throws Exception this exception is thrown from getJenaDataset since
* we are unable to find the dataset after we delete it
public void testDelete() throws Exception {
// Create a default, empty data set with the default name
DataSet dataSet = new DataSet();
// Check the data set creation
// Delete the dataset
// Check that we get null back from the dataset
Dataset contents = dataSet.getJenaDataset();
* This operation tries to pull some models from the data set
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment