james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r543901 [3/3] - in /james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src: main/java/org/apache/james/experimental/imapserver/ main/java/org/apache/james/experimental/imapserver/encode/ main/java/org/apache/james/experi...
Date Sun, 03 Jun 2007 14:11:20 GMT
Modified: james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/experimental/imapserver/handler/commands/UnsubscribeCommandTest.java
URL: http://svn.apache.org/viewvc/james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/experimental/imapserver/handler/commands/UnsubscribeCommandTest.java?view=diff&rev=543901&r1=543900&r2=543901
==============================================================================
--- james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/experimental/imapserver/handler/commands/UnsubscribeCommandTest.java
(original)
+++ james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/test/java/org/apache/james/experimental/imapserver/handler/commands/UnsubscribeCommandTest.java
Sun Jun  3 07:11:16 2007
@@ -19,6 +19,7 @@
 
 package org.apache.james.experimental.imapserver.handler.commands;
 
+import org.apache.commons.collections.ListUtils;
 import org.apache.james.api.imap.ImapSessionState;
 import org.apache.james.api.imap.ProtocolException;
 import org.jmock.core.Constraint;
@@ -34,7 +35,7 @@
 
         setUpNamespace(userDefaultNamespace);
         mockSession.expects(once()).method("unsolicitedResponses")
-                .withAnyArguments();
+                .withAnyArguments().will(returnValue(ListUtils.EMPTY_LIST));
 
         mockMailboxManager.expects(once()).method("setSubscription").with(
                 new Constraint[] {eq(fqMailboxName),eq(false)});



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message