|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| AlwaysMatcher.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; | |
| 6 | ||
| 7 | import org.easymock.AbstractMatcher; | |
| 8 | ||
| 9 | public class AlwaysMatcher extends AbstractMatcher { | |
| 10 | 50 | public boolean matches(Object[] expected, Object[] actual) { |
| 11 | 50 | return true; |
| 12 | } | |
| 13 | ||
| 14 | 2 | protected String argumentToString(Object argument) { |
| 15 | 2 | return "<any>"; |
| 16 | } | |
| 17 | } |
|
||||||||||