S function ( String arg0 , Object ... arg1 ) { info . overridingErrorMessage ( formatIfArgs ( arg0 , arg1 ) ) ; return myself ; }
overrides assertj default error message by the given one . the new error message is built using string #format string , object if you provide args parameter if youdo n't , the error message is taken as it is . example : assertthat player.isrookie . overridingerrormessage `` expecting player < % s > to be a rookie but was not . '' , player . istrue ; concode_field_sep A actual concode_elem_sep Conditions conditions concode_elem_sep S myself concode_elem_sep Objects objects concode_elem_sep WritableAssertionInfo info concode_field_sep S usingComparator concode_elem_sep S isNotExactlyInstanceOf concode_elem_sep S doesNotHave concode_elem_sep String descriptionText concode_elem_sep S isNotOfAnyClassIn concode_elem_sep S hasToString concode_elem_sep AbstractListAssert<?,?,Object> asList concode_elem_sep S hasSameClassAs concode_elem_sep S isExactlyInstanceOf concode_elem_sep int hashCode concode_elem_sep S isInstanceOfAny concode_elem_sep S has concode_elem_sep AbstractCharSequenceAssert<?,String> asString concode_elem_sep S isIn concode_elem_sep S isIn concode_elem_sep S isNotNull concode_elem_sep S describedAs concode_elem_sep S describedAs concode_elem_sep S isNotIn concode_elem_sep S isNotIn concode_elem_sep S inBinary concode_elem_sep S isNotSameAs concode_elem_sep S isNotEqualTo concode_elem_sep S isOfAnyClassIn concode_elem_sep S withThreadDumpOnError concode_elem_sep S is concode_elem_sep S doesNotHaveSameClassAs concode_elem_sep S as concode_elem_sep S as concode_elem_sep S isNot concode_elem_sep WritableAssertionInfo getWritableAssertionInfo concode_elem_sep S isSameAs concode_elem_sep S inHexadecimal concode_elem_sep void isNull concode_elem_sep boolean equals concode_elem_sep S isInstanceOf concode_elem_sep S isNotInstanceOf concode_elem_sep S isEqualTo concode_elem_sep void failWithMessage concode_elem_sep S isNotInstanceOfAny concode_elem_sep S usingDefaultComparator