public class ActiveMQNotificationBrokerTest extends TestSupport {
public void testGetRequiresRegistrationProperty() throws Exception {
ActiveMQNotificationBroker broker = new ActiveMQNotificationBroker();
GetResourcePropertyDocument request = GetResourcePropertyDocument.Factory.newInstance();
QName property = new QName("http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd", "RequiresRegistration");
request.setGetResourceProperty( property );
System.out.println(request);
GetResourcePropertyResponseDocument response = broker.getResourceProperty(null, request);
System.out.println(response);
assertNotNull(response);
XmlCursor cursor = response.newCursor();