org.mockito.internal.matchers.AnyVararg Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockito-all Show documentation
Show all versions of mockito-all Show documentation
Mock objects library for java
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.matchers;
import java.io.Serializable;
import org.hamcrest.Matcher;
import org.mockito.ArgumentMatcher;
@SuppressWarnings("unchecked")
public class AnyVararg extends ArgumentMatcher implements VarargMatcher, Serializable {
private static final long serialVersionUID = 1700721373094731555L;
public static final Matcher ANY_VARARG = new AnyVararg();
public boolean matches(Object arg) {
return true;
}
}