@Test
public void processesResourceWithOverriddenMethods() throws Exception {

    ResourceDescriptor resource = new AbstractResourceDescriptor(Resource2.class);
    assertEquals(1, resource.getResourceMethods().get("GET").size());
    assertEquals(1, resource.getResourceMethods().get("POST").size());
}