long function ( Matcher < Long > arg0 ) { return reportMatcher ( arg0 ) . returnZero ( ) ; }
enables integrating hamcrest matchers that match primitive long arguments . note that #argthat will not work with primitive long matchers due to nullpointerexception auto-unboxing caveat . see examples in javadoc for mockitohamcrest class concode_field_sep MockingProgress MOCKING_PROGRESS concode_field_sep HandyReturnValues reportMatcher concode_elem_sep byte byteThat concode_elem_sep double doubleThat concode_elem_sep float floatThat concode_elem_sep T argThat concode_elem_sep int intThat concode_elem_sep char charThat concode_elem_sep short shortThat concode_elem_sep boolean booleanThat