org.easymock.internal.matchers.Any Maven / Gradle / Ivy
Go to download
EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly
/*
* Copyright (c) 2001-2005 OFFIS, Tammo Freese.
* This program is made available under the terms of the MIT License.
*/
package org.easymock.internal.matchers;
import org.easymock.IArgumentMatcher;
public class Any implements IArgumentMatcher {
public static final Any ANY = new Any();
private Any() {
}
public boolean matches(Object actual) {
return true;
}
public void appendTo(StringBuffer buffer) {
buffer.append("");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy