com.atlassian.bamboo.mockito
Class IsToStringEq<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.mockito.ArgumentMatcher<T>
          extended by com.atlassian.bamboo.mockito.IsToStringEq<T>
Type Parameters:
T -
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public class IsToStringEq<T>
extends org.mockito.ArgumentMatcher<T>

Matcher that relies to the toString of an object


Constructor Summary
IsToStringEq(T o)
           
 
Method Summary
 boolean matches(java.lang.Object obj)
           
 
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

IsToStringEq

public IsToStringEq(T o)
Method Detail

matches

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


Copyright © 2010 Atlassian. All Rights Reserved.