@Test
public void testGet() {

    doReturn(globalProperty).when(service).get(anyInt());
    final Response response = resource.get(globalProperty.getId());
    Assert.assertEquals(response.getStatus(), 200);
    Assert.assertEquals(response.getEntity(), globalProperty);
}