Advertisement
Guest User

Untitled

a guest
Feb 14th, 2013
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. // Purge ConceptClass
  2. public void shouldPurgeAConceptClass() throws Exception {
  3. String uuid = "77177ce7-1410-40ee-bbad-ff6905ee3095";
  4.  
  5. Assert.assertNotNull(service.getConceptClassByUuid(uuid));
  6. MockHttpServletRequest req = request(RequestMethod.DELETE, getURI() + "/" + uuid);
  7. req.addParameter("purge", "");
  8. handle(req);
  9. Assert.assertNull(service.getConceptClassByUuid(uuid));
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement