diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/server/DssServiceRpcV1Test.java b/datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/server/DssServiceRpcV1Test.java
index 79e1ad71fe882d845e1a19563590b1cac3fbcf45..51d40902d0266cee211218cbddfc7311bda13f91 100644
--- a/datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/server/DssServiceRpcV1Test.java
+++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/openbis/dss/generic/server/DssServiceRpcV1Test.java
@@ -489,8 +489,8 @@ public class DssServiceRpcV1Test extends AbstractFileSystemTestCase
         TestMethodInterceptor testMethodInterceptor = new TestMethodInterceptor();
         IDssServiceRpcGenericInternal service = getAdvisedService(testMethodInterceptor);
 
-        service.putDataSet(SESSION_TOKEN, newDataSet, fileInputStream);
-
+        String result = service.putDataSet(SESSION_TOKEN, newDataSet, fileInputStream);
+        assertEquals(NEW_DATA_SET_CODE, result);
         assertTrue("Advice should have been invoked.", testMethodInterceptor.methodInvoked);
 
         context.assertIsSatisfied();