public void setup() {
sl = createMock(ServiceLocator.class);
names = new ArrayList<String>();
SERVICE_NAME = new QName(QNAME_PREFIX1, QNAME_LOCALPART1);
names = new ArrayList<String>();
lps = new LocatorRestServiceImpl();
lps.setLocatorClient(sl);
lps.setLocatorEndpoints("localhost:2181");
lps.setConnectionTimeout(5000);
lps.setSessionTimeout(5000);
endpoint = createMock(SLEndpoint.class);