1 3 package org.jmock.core.matcher; 4 5 import org.jmock.core.Invocation; 6 7 8 public class AnyArgumentsMatcher extends StatelessInvocationMatcher 9 { 10 11 public static final AnyArgumentsMatcher INSTANCE = new AnyArgumentsMatcher(); 12 13 public boolean matches( Invocation invocation ) { 14 return true; 15 } 16 17 public StringBuffer describeTo( StringBuffer buffer ) { 18 return buffer.append("(any arguments)"); 19 } 20 } | Popular Tags |