PullPoint pullPoint = new PullPoint(AbstractWSAClient.createWSA("http: jbi);
PullPoint pullPoint = new PullPoint( AbstractWSAClient.createWSA("http: jbi); Thread.sleep(50);
    public void testDeployPullPoint() throws Exception {        URL url = getClass().getClassLoader().getResource("pullpoint/pullpoint.xml");        File path = new File(new URI(url.toString()));        path = path.getParentFile();        wsnComponent.getServiceUnitManager().deploy("pullpoint", path.getAbsolutePath());        wsnComponent.getServiceUnitManager().start("pullpoint");                wsnBroker.notify("myTopic", parse("<hello>world</hello>"));        PullPoint pullPoint = new PullPoint(AbstractWSAClient.createWSA("http://www.consumer.org/service/endpoint"),                                             jbi);        assertEquals(1, pullPoint.getMessages(0).size());    }