ChangeItemsResource { @Path("/orders") @ApiOperation(value = "SubResource : ChangeOrdersResource") public ChangeOrdersResource orders() { return orders; } 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 ordersTest() { ChangeOrdersResource _orders = changeItemsResource.orders(); Assert.assertEquals(orders, _orders); }