java.lang.Object |
↳ |
org.hamcrest.BaseMatcher<T> |
|
↳ |
org.junit.internal.matchers.TypeSafeMatcher<T> |
|
|
↳ |
com.atlassian.jira.matchers.ReflectionEqualTo<T> |
Summary
Public Constructors |
|
ReflectionEqualTo(T expected)
Creates a new ReflectionEqualTo matcher with the expected value.
|
[Expand]
Inherited Methods |
From class
org.junit.internal.matchers.TypeSafeMatcher
final
boolean
|
matches(Object arg0)
|
abstract
boolean
|
matchesSafely(T arg0)
|
|
From class
org.hamcrest.BaseMatcher
final
void
|
_dont_implement_Matcher___instead_extend_BaseMatcher_()
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.hamcrest.Matcher
void
|
_dont_implement_Matcher___instead_extend_BaseMatcher_()
|
boolean
|
matches(Object arg0)
|
|
From interface
org.hamcrest.SelfDescribing
void
|
describeTo(Description arg0)
|
|
Public Constructors
public
ReflectionEqualTo
(T expected)
Creates a new ReflectionEqualTo matcher with the expected value.
Parameters
expected
| the expected value
|
Public Methods
public
void
describeTo
(Description description)
public
boolean
matchesSafely
(T actual)
public
static
Matcher<T>
reflectionEqualTo
(T expected)
Matcher that compares objects using reflection.
Parameters
expected
| the expected object |