net.grinder.testutility
Class MockingUtilities.TypedArgumentMatcher<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.mockito.ArgumentMatcher<T>
          extended by net.grinder.testutility.MockingUtilities.TypedArgumentMatcher<T>
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
Enclosing class:
MockingUtilities

public abstract static class MockingUtilities.TypedArgumentMatcher<T>
extends org.mockito.ArgumentMatcher<T>

Prettier version of ArgumentMatcher.

Author:
Philip Aston

Constructor Summary
MockingUtilities.TypedArgumentMatcher()
           
 
Method Summary
protected abstract  boolean argumentMatches(T t)
           
 boolean matches(Object argument)
           
 
Methods inherited from class org.mockito.ArgumentMatcher
describeTo
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockingUtilities.TypedArgumentMatcher

public MockingUtilities.TypedArgumentMatcher()
Method Detail

matches

public final boolean matches(Object argument)
Specified by:
matches in interface org.hamcrest.Matcher<T>
Specified by:
matches in class org.mockito.ArgumentMatcher<T>

argumentMatches

protected abstract boolean argumentMatches(T t)


Copyright © 2000-2012. All Rights Reserved.