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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
