atcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ instanceOf
](../../org/hamcrest/CoreMatchers.html#instanceOf\(java.lang.Class\)) **
(java.lang.Class<?> type) `  
Creates a matcher that matches when the examined object is an instance of the
specified ` type ` , as determined by calling the ` Class.isInstance(Object) `
method on that type, passing the the examined object.  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ is ](../../org/hamcrest/CoreMatchers.html#is\(java.lang.Class\)) **
(java.lang.Class<T> type) `  
**Deprecated.** _use isA(Class type) instead.  _  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ is ](../../org/hamcrest/CoreMatchers.html#is\(org.hamcrest.Matcher\))
** ( [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest")
<T> matcher) `  
Decorates another Matcher, retaining its behaviour, but allowing tests to be
slightly more expressive.  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ is ](../../org/hamcrest/CoreMatchers.html#is\(T\)) ** (T value) `  
A shortcut to the frequently used ` is(equalTo(x)) ` .  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ isA ](../../org/hamcrest/CoreMatchers.html#isA\(java.lang.Class\)) **
(java.lang.Class<T> type) `  
A shortcut to the frequently used ` is(instanceOf(SomeClass.class)) ` .  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ not
](../../org/hamcrest/CoreMatchers.html#not\(org.hamcrest.Matcher\)) ** ( [
Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T>
matcher) `  
Creates a matcher that wraps an existing matcher, but inverts the logic by
which it will match.  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ not ](../../org/hamcrest/CoreMatchers.html#not\(T\)) ** (T value) `  
A shortcut to the frequently used ` not(equalTo(x)) ` .  
` static [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Object> ` |  ` **[ notNullValue ](../../org/hamcrest/CoreMatchers.html#notNullValue\(\)) ** () `   
A shortcut to the frequently used ` not(nullValue()) ` .  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ notNullValue
](../../org/hamcrest/CoreMatchers.html#notNullValue\(java.lang.Class\)) **
(java.lang.Class<T> type) `  
A shortcut to the frequently used ` not(nullValue(X.class)). `  
` static [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.Object> ` |  ` **[ nullValue ](../../org/hamcrest/CoreMatchers.html#nullValue\(\)) ** () `   
Creates a matcher that matches if examined object is ` null ` .  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ nullValue
](../../org/hamcrest/CoreMatchers.html#nullValue\(java.lang.Class\)) **
(java.lang.Class<T> type) `  
Creates a matcher that matches if examined object is ` null ` .  
` static  |  ` <T> [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <T> `  
---  
` ` **[ sameInstance ](../../org/hamcrest/CoreMatchers.html#sameInstance\(T\))
** (T target) `  
Creates a matcher that matches only when the examined object is the same
instance as the specified target object.  
` static [ Matcher ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <java.lang.String> ` |  ` **[ startsWith ](../../org/hamcrest/CoreMatchers.html#startsWith\(java.lang.String\)) ** (java.lang.String prefix) `   
Creates a matcher that matches if the examined ` String ` starts with the
specified ` String ` .  
` static  |  ` <T> [ Matcher ](../../org/hamcr