ChangeItemsResource { @Path("/requests") @ApiOperation(value = "SubResource : ChangeRequestsResource") public ChangeRequestsResource requests() { return requests; } ChangeItemsResource(); @Path("/issues") @ApiOperation(value = "SubResource : ChangeIssuesResource") ChangeIssuesResource issues(); @Path("/requests") @ApiOperation(value = "SubResource : ChangeRequestsResource") ChangeRequestsResource requests(); @Path("/orders") @ApiOperation(value = "SubResource : ChangeOrdersResource") ChangeOrdersResource orders(); @Path("/milestones") @ApiOperation(value = "SubResource : MilestonesResource") MilestonesResource milestones();  }
@Test public void requestsTest() { ChangeRequestsResource _requests = changeItemsResource.requests(); Assert.assertEquals(requests, _requests); }