sub.getSubscriptionFilter().getGetAssertionStatusReport().setCompletionStatus(CompletionStatus.STATUS_COMPLETE);
data.value.add(sub);
tckSubscriptionJoe.subscription.saveSubscription(authInfoJoe, data);
AddPublisherAssertions r = new AddPublisherAssertions();
r.setAuthInfo(authInfoJoe);
PublisherAssertion pa = new PublisherAssertion();
pa.setFromKey(TckBusiness.JOE_BUSINESS_KEY);
pa.setToKey(TckBusiness.SAM_BUSINESS_KEY);
pa.setKeyedReference(new KeyedReference());
pa.getKeyedReference().setKeyName("Subsidiary");
pa.getKeyedReference().setKeyValue("parent-child");
pa.getKeyedReference().setTModelKey("uddi:uddi.org:relationships");
r.getPublisherAssertion().add(pa);
publicationJoe.addPublisherAssertions(r);
r = new AddPublisherAssertions();
r.setAuthInfo(authInfoSam);
pa = new PublisherAssertion();
pa.setFromKey(TckBusiness.JOE_BUSINESS_KEY);
pa.setToKey(TckBusiness.SAM_BUSINESS_KEY);
pa.setKeyedReference(new KeyedReference());
pa.getKeyedReference().setKeyName("Subsidiary");
pa.getKeyedReference().setKeyValue("parent-child");
pa.getKeyedReference().setTModelKey("uddi:uddi.org:relationships");
r.getPublisherAssertion().add(pa);
publicationJoe.addPublisherAssertions(r);
GetSubscriptionResults gsr = new GetSubscriptionResults();