Advertisement
Guest User

Untitled

a guest
Feb 14th, 2013
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Sorry about comments! Is that the corrrect uuid?
  2.  
  3. public void shouldPurgeAConceptSource() throws Exception {
  4. String uuid = "97097dd9-b092-4b68-a2dc-e5e5be961d42";
  5. //Assert.assertNotNull(service.getConceptSourceByUuid(getUuid()));
  6. Assert.assertNotNull(service.getConceptSourceByUuid(uuid));
  7. // MockHttpServletRequest req = request(RequestMethod.DELETE, getURI() + "/" + getUuid());
  8. MockHttpServletRequest req = request(RequestMethod.DELETE, getURI() + "/" + uuid);
  9. req.addParameter("purge", "");
  10. handle(req);
  11. // Assert.assertNull(service.getConceptSourceByUuid(getUuid()));
  12. Assert.assertNotNull(service.getConceptSourceByUuid(uuid));
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement