@Test
 public void testGetResourceServer() throws Exception {
   try {
     resource.add(ResourceServerDataGenerator.generateResourceServerDTO(NAME));
     ResourceServerDTO result = resource.get(NAME);
     assertResourceServer(result);
   } finally {
     resource.delete(NAME);
   }
 }
 @Test(expected = NotFoundException.class)
 public void testGetResourceServerDoesNotExist() throws Exception {
   ResourceServerDTO result = resource.get(NAME_NON_EXISTENT);
 }