### Question:
ClusterStackVersionService extends BaseService { @Path("{stackVersionId}/repository_versions") public RepositoryVersionService getRepositoryVersionService(@Context javax.ws.rs.core.Request request, @PathParam("stackVersionId") String stackVersion) { final Map<Resource.Type, String> mapIds = new HashMap<>(); mapIds.put(Resource.Type.Cluster, clusterName); mapIds.put(Resource.Type.ClusterStackVersion, stackVersion); return new RepositoryVersionService(mapIds); } ClusterStackVersionService(String clusterName); @GET @ApiIgnore // until documented @Produces("text/plain") Response getClusterStackVersions(@Context HttpHeaders headers, @Context UriInfo ui); @GET @ApiIgnore // until documented @Path("{stackVersionId}") @Produces("text/plain") Response getClusterStackVersion(@Context HttpHeaders headers, @Context UriInfo ui,
      @PathParam("stackVersionId") String stackVersionId); @Path("{stackVersionId}/repository_versions") RepositoryVersionService getRepositoryVersionService(@Context javax.ws.rs.core.Request request,
                                                                  @PathParam("stackVersionId") String stackVersion); @POST @ApiIgnore // until documented @Produces("text/plain") Response createRequests(String body, @Context HttpHeaders headers, @Context UriInfo ui); @PUT @ApiIgnore // until documented @Produces("text/plain") Response updateRequests(String body, @Context HttpHeaders headers, @Context UriInfo ui);  }### Answer:
@Test public void testGetRepositoryVersionService() { ClusterStackVersionService clusterStackVersionService = new TestClusterStackVersionService("cluster"); RepositoryVersionService rvs = clusterStackVersionService.getRepositoryVersionService(EasyMock.createMock(javax.ws.rs.core.Request.class), "1"); TestCase.assertNotNull(rvs); }