assertEquals("C3", 1, ServicePublisher.getServicePublishers(new Service("C", "3")).size()) ;
assertEquals("D4", 1, ServicePublisher.getServicePublishers(new Service("D", "4")).size()) ;
assertEquals("Service count", 4, ServicePublisher.getServices().size());
final ESBServiceContractReferencePublisher publisher = new ESBServiceContractReferencePublisher(new Service("C", "3"), "test", "endpoint") ;
ServicePublisher.addContractReferencePublishers(controller2, Arrays.asList(publisher)) ;
assertEquals("C3", 2, ServicePublisher.getServicePublishers(new Service("C", "3")).size()) ;
assertEquals("Service count", 4, ServicePublisher.getServices().size());