]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-327: Added test for sending null CollectionObject to client proxy
authorAron Roberts <aron@socrates.berkeley.edu>
Thu, 6 Aug 2009 01:19:14 +0000 (01:19 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Thu, 6 Aug 2009 01:19:14 +0000 (01:19 +0000)
services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java

index e707e4717a763ec767438a6d7572251df6094f0c..42901fd34e601f283117821a296a184a8eccd698 100644 (file)
@@ -115,10 +115,10 @@ public class CollectionObjectServiceTest {
    *
    * Expected status code: (none)
    *
-   * Expected result: NullPointerException
+   * Expected result: IllegalArgumentException 
    * (Make sure this is a reported exception in the called class.)
    */
-  @Test(dependsOnMethods = {"createCollectionObject"}, expectedExceptions = NullPointerException.class)
+  @Test(dependsOnMethods = {"createCollectionObject"}, expectedExceptions = IllegalArgumentException.class)
   public void createNullCollectionObject() {
     ClientResponse<Response> res = collectionObjectClient.createCollectionObject(null);
   }