// Path: src/main/java/de/unikiel/inf/comsys/neo4j/http/RDFMediaType.java
// public final class RDFMediaType {
// 
// 	public static final String SPARQL_RESULTS_JSON = "application/sparql-results+json";
// 	public static final String SPARQL_RESULTS_XML = "application/sparql-results+xml";
// 	public static final String SPARQL_RESULTS_CSV = "text/csv";
// 	public static final String SPARQL_RESULTS_TSV = "text/tab-separated-values";
// 	public static final String SPARQL_QUERY = "application/sparql-query";
// 	public static final String SPARQL_UPDATE = "application/sparql-update";
// 	public static final String RDF_TURTLE = "text/turtle";
// 	public static final String RDF_JSON = "application/rdf+json";
// 	public static final String RDF_XML = "application/rdf+xml";
// 	public static final String RDF_NTRIPLES = "application/n-triples";
// 
// 	private RDFMediaType() {
// 	}
// }


import com.sun.jersey.api.client.ClientResponse;
import de.unikiel.inf.comsys.neo4j.http.RDFMediaType;
import javax.ws.rs.core.MediaType;
import static org.junit.Assert.*;
import org.junit.Test;
		res = request("rdf/graph/example")
			.delete(ClientResponse.class);
		assertEquals("Should return 204 response code", 204, res.getStatus());
		res = request("rdf/graph/example")
			.accept(RDFMediaType.RDF_TURTLE)
			.get(ClientResponse.class);
		assertEquals("Should return 404 response code", 404, res.getStatus());
	}
	
	@Test
	public void defaultGraph() {
		ClientResponse res;
		res = request("rdf/graph?default")
			.type(RDFMediaType.RDF_TURTLE)
			.entity(SPARQLGraphTest.class.getResourceAsStream("/ex.ttl"))
			.put(ClientResponse.class);
		assertEquals("Should return 204 response code", 204, res.getStatus());
		res = request("rdf/graph?default")
			.type(RDFMediaType.RDF_TURTLE)
			.entity(SPARQLGraphTest.class.getResourceAsStream("/ex.ttl"))
			.post(ClientResponse.class);
		assertEquals("Should return 204 response code", 204, res.getStatus());
		res = request("rdf/graph?default")
			.accept(RDFMediaType.RDF_TURTLE)
			.get(ClientResponse.class);
		assertEquals("Should return 200 response code", 200, res.getStatus());
		res = request("rdf/graph?default")
			.delete(ClientResponse.class);
		assertEquals("Should return 204 response code", 204, res.getStatus());
		res = request("rdf/graph?default")
// Path: src/main/java/de/unikiel/inf/comsys/neo4j/http/RDFMediaType.java
// public final class RDFMediaType {
// 
// 	public static final String SPARQL_RESULTS_JSON = "application/sparql-results+json";
// 	public static final String SPARQL_RESULTS_XML = "application/sparql-results+xml";
// 	public static final String SPARQL_RESULTS_CSV = "text/csv";
// 	public static final String SPARQL_RESULTS_TSV = "text/tab-separated-values";
// 	public static final String SPARQL_QUERY = "application/sparql-query";
// 	public static final String SPARQL_UPDATE = "application/sparql-update";
// 	public static final String RDF_TURTLE = "text/turtle";
// 	public static final String RDF_JSON = "application/rdf+json";
// 	public static final String RDF_XML = "application/rdf+xml";
// 	public static final String RDF_NTRIPLES = "application/n-triples";
// 
// 	private RDFMediaType() {
// 	}
// }


// Path: src/test/java/de/unikiel/inf/comsys/neo4j/SPARQLGraphTest.java
import com.sun.jersey.api.client.ClientResponse;
import de.unikiel.inf.comsys.neo4j.http.RDFMediaType;
import javax.ws.rs.core.MediaType;
import static org.junit.Assert.*;
import org.junit.Test;

		res = request("rdf/graph/example")
			.delete(ClientResponse.class);
		assertEquals("Should return 204 response code", 204, res.getStatus());
		res = request("rdf/graph/example")
			.accept(RDFMediaType.RDF_TURTLE)
			.get(ClientResponse.class);
		assertEquals("Should return 404 response code", 404, res.getStatus());
	}
	
	@Test
	public void defaultGraph() {
		ClientResponse res;
		res = request("rdf/graph?default")
			.type(RDFMediaType.RDF_TURTLE)
			.entity(SPARQLGraphTest.class.getResourceAsStream("/ex.ttl"))
			.put(ClientResponse.class);
		assertEquals("Should return 204 response code", 204, res.getStatus());
		res = request("rdf/graph?default")
			.type(RDFMediaType.RDF_TURTLE)
			.entity(SPARQLGraphTest.class.getResourceAsStream("/ex.ttl"))
			.post(ClientResponse.class);
		assertEquals("Should return 204 response code", 204, res.getStatus());
		res = request("rdf/graph?default")
			.accept(RDFMediaType.RDF_TURTLE)
			.get(ClientResponse.class);
		assertEquals("Should return 200 response code", 200, res.getStatus());
		res = request("rdf/graph?default")
			.delete(ClientResponse.class);
		assertEquals("Should return 204 response code", 204, res.getStatus());
		res = request("rdf/graph?default")
			.accept(RDFMediaType.RDF_TURTLE)