Advertisement
Guest User

Untitled

a guest
Feb 14th, 2013
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Like this?
  2.  
  3. @Test
  4. public void purgeConceptClass_shouldPurgeAConceptClass() throws Exception {
  5. String uuid = "97097dd9-b092-4b68-a2dc-e5e5be961d42";
  6. //MockHttpServletRequest req = request(RequestMethod.DELETE, getURI() + "/" + getUuid());
  7. MockHttpServletRequest req = request(RequestMethod.DELETE, getURI() + "/" + uuid());
  8. req.addParameter("!purge", "");
  9. handle(req);
  10.  
  11. Assert.assertNull(service.getConceptClassByUuid(getUuid()));
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement