assertEquals("http://testhost:1234/factstore/facts/http%3A%2F%2Fiks-project.eu%2Font%2FemployeeOf/99", response.getMetadata().get("Location").get(0).toString());
}
@Test
public void testPostMultiFacts() {
FactsResource fr = new FactsResourceWrapper(this.servletContext, this.uriInfoMock);
Response response = fr
.postFacts(
"{\"@context\":{\"iks\":\"http://iks-project.eu/ont/\",\"upb\":\"http://upb.de/persons/\"},\"@profile\":\"iks:employeeOf\",\"@subject\":[{\"person\":{\"@iri\":\"upb:bnagel\"},\"organization\":{\"@iri\":\"http://uni-paderborn.de\"}},{\"person\":{\"@iri\":\"upb:fchrist\"},\"organization\":{\"@iri\":\"http://uni-paderborn.de\"}}]}",
new HttpHeadersMock());
assertTrue(response.getStatus() == Status.OK.getStatusCode());