|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
Any.java | - | 100% | 100% | 100% |
|
1 | /* | |
2 | * Copyright (c) 2001-2006 OFFIS, Tammo Freese. | |
3 | * This program is made available under the terms of the MIT License. | |
4 | */ | |
5 | package org.easymock.internal.matchers; | |
6 | ||
7 | import org.easymock.IArgumentMatcher; | |
8 | ||
9 | public class Any implements IArgumentMatcher { | |
10 | ||
11 | public static final Any ANY = new Any(); | |
12 | ||
13 | 1 | private Any() { |
14 | ||
15 | } | |
16 | ||
17 | 14 | public boolean matches(Object actual) { |
18 | 14 | return true; |
19 | } | |
20 | ||
21 | 1 | public void appendTo(StringBuffer buffer) { |
22 | 1 | buffer.append("<any>"); |
23 | } | |
24 | } |
|