Example #1
0
 @Test(expected = NotFoundException.class)
 public void testDeleteNotFound() throws Exception {
   controller.delete(0);
 }
Example #2
0
 @Test
 public void testDelete() throws Exception {
   controller.delete(7);
 }