### Question:
WSCXMLServiceProvider implements ServiceProvider<String> { @Override public Set<String> listOperations() { Set<String> ops = new HashSet<String>(); for(String service : listServices()){ ops.add(service+operationSuffix); } return ops; } WSCXMLServiceProvider(InputStream serviceStream);  WSCXMLServiceProvider(File xmlServices); Service<String> getService(String serviceID); @Override Operation<String> getOperation(String operationID); @Override Iterable<Operation<String>> getOperationsWithInput(String inputInstance); @Override Iterable<Operation<String>> getOperationsWithOutput(String outputInstance); @Override Iterable<Operation<String>> getOperations(); @Override Iterable<Service<String>> getServices(); @Override Set<String> listOperations(); @Override Set<String> listServices(); static final String operationSuffix; }### Answer:
@Test public void testListOperations() throws Exception { assertTrue(provider.listOperations().contains("serv699915007Operation")); assertTrue(provider.listOperations().contains("serv1531463259Operation")); assertTrue(provider.listOperations().contains("serv76663416Operation")); assertTrue(provider.listOperations().contains("serv630482774Operation")); assertTrue(provider.listOperations().contains("serv2085282617Operation")); assertFalse(provider.listOperations().contains("serv699915007")); assertFalse(provider.listOperations().contains("serv1531463259")); assertFalse(provider.listOperations().contains("serv76663416")); assertFalse(provider.listOperations().contains("serv630482774")); assertFalse(provider.listOperations().contains("serv2085282617")); }