ChangeItemsResource { @Path("/issues") @ApiOperation(value = "SubResource : ChangeIssuesResource") public ChangeIssuesResource issues() { return issues; } 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 issuesTest() { ChangeIssuesResource _issues = changeItemsResource.issues(); Assert.assertEquals(issues, _issues); }