• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2007 Mockito contributors
3  * This program is made available under the terms of the MIT License.
4  */
5 
6 package org.mockito.internal.matchers;
7 
8 import java.io.Serializable;
9 
10 import org.mockito.ArgumentMatcher;
11 
12 public class Any implements ArgumentMatcher<Object>, VarargMatcher, Serializable {
13 
14     public static final Any ANY = new Any();
15 
matches(Object actual)16     public boolean matches(Object actual) {
17         return true;
18     }
19 
toString()20     public String toString() {
21         return "<any>";
22     }
23 }
24