KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > easymock > internal > AlwaysMatcher


1 /*
2  * Copyright (c) 2001-2005 OFFIS. This program is made available under the terms of
3  * the MIT License.
4  */

5 package org.easymock.internal;
6
7 import org.easymock.AbstractMatcher;
8
9 public class AlwaysMatcher extends AbstractMatcher {
10     public boolean matches(Object JavaDoc[] expected, Object JavaDoc[] actual) {
11         return true;
12     }
13
14     protected String JavaDoc argumentToString(Object JavaDoc argument) {
15         return "<any>";
16     }
17 }
Popular Tags