You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by wi...@apache.org on 2005/09/28 17:07:11 UTC

svn commit: r292206 - /webservices/muse/trunk/src/examples/client/src/test/org/apache/ws/client/muse/client/impl/notification/NotificationImplTest.java

Author: wire
Date: Wed Sep 28 08:07:06 2005
New Revision: 292206

URL: http://svn.apache.org/viewcvs?rev=292206&view=rev
Log:
Finishing up notification for change and situtation

Modified:
    webservices/muse/trunk/src/examples/client/src/test/org/apache/ws/client/muse/client/impl/notification/NotificationImplTest.java

Modified: webservices/muse/trunk/src/examples/client/src/test/org/apache/ws/client/muse/client/impl/notification/NotificationImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/client/src/test/org/apache/ws/client/muse/client/impl/notification/NotificationImplTest.java?rev=292206&r1=292205&r2=292206&view=diff
==============================================================================
--- webservices/muse/trunk/src/examples/client/src/test/org/apache/ws/client/muse/client/impl/notification/NotificationImplTest.java (original)
+++ webservices/muse/trunk/src/examples/client/src/test/org/apache/ws/client/muse/client/impl/notification/NotificationImplTest.java Wed Sep 28 08:07:06 2005
@@ -5,6 +5,7 @@
 import junit.framework.TestCase;
 
 import org.apache.ws.addressing.EndpointReference;
+import org.apache.ws.client.muse.client.impl.exceptions.UnexpectedServerResponseException;
 import org.apache.ws.client.muse.client.model.Notification;
 import org.apache.ws.client.muse.client.model.TopicExpression;
 import org.apache.xmlbeans.XmlObject;
@@ -99,6 +100,18 @@
 		assertNotNull(reporterEpr);
 		//assertTrue(reporterEpr.length>0);
 		
+	}
+	public void testGetChangeNotification() throws UnexpectedServerResponseException{
+		assertNotNull(this.notification.getChangeNotification());
+	}
+
+	public void testGetSituation() throws UnexpectedServerResponseException{
+		assertNotNull(this.notification.getSituation());
+	}
+
+	public void testGetNotificationPayload(){
+		assertNotNull(this.notification.getNotificationPayload());
+		assertTrue(this.notification.getNotificationPayload().length>0);
 	}
 
 }