}
}
@Test
public void addClientSubscriptionInfo() {
ClientSubscriptionInfo clientSubscriptionInfo = new ClientSubscriptionInfo();
Node node = new Node();
node.setSecurityUrl("http://localhost:8080/services/securityUrl");
node.setName("default");
Clerk clerk = new Clerk();
clerk.setName("default");
clerk.setPublisher("root");
clerk.setNode(node);
Clerk toClerk = new Clerk();
toClerk.setName("medroot");
toClerk.setPublisher("root");
toClerk.setNode(node);
clientSubscriptionInfo.setFromClerk(clerk);
clientSubscriptionInfo.setToClerk(toClerk);
clientSubscriptionInfo.setSubscriptionKey("mykey");
SaveClientSubscriptionInfo saveClientSubscriptionInfo = new SaveClientSubscriptionInfo();
saveClientSubscriptionInfo.setAuthInfo(authInfo);
saveClientSubscriptionInfo.getClientSubscriptionInfo().add(clientSubscriptionInfo);