@Test public void restQueryWSDLInformationsService() throws Exception { TestClientItf testClient = frascati.getService( componentList.get(0), "simpleRegistryServiceTestClientService", TestClientItf.class); ServiceInformations result = testClient.testQueryWSDLInterfaces(null, null); Assert.assertNotNull(result); Assert.assertEquals(3, result.getServiceInformationList().size()); }
@Test public void restQueryServicesWithEndpointsService() throws Exception { TestClientItf testClient = frascati.getService( componentList.get(0), "simpleRegistryServiceTestClientService", TestClientItf.class); ServiceInformations result = testClient.testQueryServicesWithEndpoints(null, null); Assert.assertNotNull(result); ServiceInformation service = result.getServiceInformationList().get(2); Assert.assertNotNull(service); Assert.assertEquals("PureAirFlowersService", service.getName()); EndpointInformations endpoints = service.getEndpoints(); Assert.assertNotNull(endpoints); EndpointInformation endpoint = endpoints.getEndpointInformationList().get(0); Assert.assertEquals("TestEndpoint", endpoint.getName()); }