matches
Evaluates the matcher for argument item.
This method matches against Object, instead of the generic type T. This is because the caller of the Matcher does not know at runtime what the type is (because of type erasure with Java generics). It is down to the implementations to check the correct type.
Return
true if item matches, otherwise false.
Parameters
actual
the object against which the matcher is evaluated.