Package net.officefloor.frame.test.match
Class TypeMatcher
- java.lang.Object
-
- org.easymock.AbstractMatcher
-
- net.officefloor.frame.test.match.TypeMatcher
-
- All Implemented Interfaces:
org.easymock.ArgumentsMatcher
public class TypeMatcher extends org.easymock.AbstractMatcher
AbstractMatcher
that checks type of objects only.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>[]
matchTypes
Types of the arguments expected.
-
Constructor Summary
Constructors Constructor Description TypeMatcher(java.lang.Class<?>... types)
Initiate with a multiple argument types.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(java.lang.Object[] expected, java.lang.Object[] actual)
-