@Test
public void testDeleteById() {

    doNothing().when(service).delete(anyInt());

    final Response response = resource.delete(globalProperty.getId());
    Assert.assertEquals(response.getStatus(), 200);
}