@Test
 public void TestReadEntityDescriptions() throws Exception {
   MockServiceProvider.cts2Service = new MockService();
   ReadEntityDescriptions request = new ReadEntityDescriptions();
   ScopedEntityName name = new ScopedEntityName();
   name.setName("test.name");
   name.setNamespace("test");
   request.setEntityId(ModelUtils.entityNameOrUriFromName(name));
   request.setContext(new ReadContext());
   QueryControl queryControl = new QueryControl();
   queryControl.setTimeLimit(10000L);
   request.setQueryControl(queryControl);
   ReadEntityDescriptionsResponse response =
       (ReadEntityDescriptionsResponse) this.doSoapCall(uri, request);
   assertEquals("success", response.getEntityList().getEntry(0).getResourceName());
 }
 @Test
 public void TestRead() throws Exception {
   MockServiceProvider.cts2Service = new MockService();
   Read request = new Read();
   ScopedEntityName name = new ScopedEntityName();
   name.setName("test");
   name.setNamespace("test");
   request.setEntityId(ModelUtils.entityNameOrUriFromName(name));
   request.setCodeSystemVersion(ModelUtils.nameOrUriFromName("test.version"));
   request.setContext(new ReadContext());
   QueryControl queryControl = new QueryControl();
   queryControl.setTimeLimit(10000L);
   request.setQueryControl(queryControl);
   ReadResponse response = (ReadResponse) this.doSoapCall(uri, request);
   assertEquals("success", ModelUtils.getEntity(response.getReturn()).getEntityID().getName());
 }