@Test
public void addClientSubscriptionInfo() {
ClientSubscriptionInfo clientSubscriptionInfo = new ClientSubscriptionInfo();
Node node = new Node();
node.setSecurityUrl("http://localhost:8080/services/securityUrl");
node.setCustodyTransferUrl("http://localhost:8080/services/securityUrl");
node.setDescription("description");
node.setInquiryUrl("http://localhost:8080/services/securityUrl");
node.setPublishUrl("http://localhost:8080/services/publishUrl");
node.setSubscriptionListenerUrl("http://localhost:8080/services/subUrladdClientSubscriptionInfo");
node.setProxyTransport("org.apache.juddi.v3.client.transport.JAXWSTransport");
node.setSubscriptionUrl("http://localhost:8080/services/securityUrl");
node.setName("default");
node.setClientName("defaultClient");
SaveNode saveNode = new SaveNode();
saveNode.setAuthInfo(authInfoJoe);
saveNode.getNode().add(node);
Clerk clerk = new Clerk();
clerk.setName("clerkName");
clerk.setPublisher("root");
clerk.setNode(node);
SaveClerk saveClerk = new SaveClerk();
saveClerk.setAuthInfo(authInfoJoe);
saveClerk.getClerk().add(clerk);
clientSubscriptionInfo.setFromClerk(clerk);
Node node2 = new Node();
node2.setSecurityUrl("http://localhost:8080/services/securityUrl2");
node2.setCustodyTransferUrl("https://localhost:8080/services/securityUrl2");
node2.setDescription("description2");
node2.setInquiryUrl("http://localhost:8080/services/securityUrl2");
node2.setPublishUrl("http://localhost:8080/services/securityUrl2");
node2.setProxyTransport("org.apache.juddi.v3.client.transport.JAXWSTransport");
node2.setSubscriptionUrl("http://localhost:8080/services/securityUrl2");
node2.setSubscriptionListenerUrl("http://localhost:8080/services/securityUrl2");
node2.setName("default2");
node2.setClientName("default2Client");
saveNode.getNode().add(node2);
Clerk clerk2 = new Clerk();
clerk2.setName("clerkName2");
clerk2.setPublisher("root");