Uses of Interface
org.assertj.core.error.ErrorMessageFactory
-
Packages that use ErrorMessageFactory Package Description org.assertj.core.api org.assertj.core.error org.assertj.core.error.future org.assertj.core.error.uri org.assertj.core.internal -
-
Uses of ErrorMessageFactory in org.assertj.core.api
Methods in org.assertj.core.api with parameters of type ErrorMessageFactory Modifier and Type Method Description protected voidAbstractAssert. throwAssertionError(ErrorMessageFactory errorMessageFactory)Utility method to throw anAssertionErrorgiven aBasicErrorMessageFactory. -
Uses of ErrorMessageFactory in org.assertj.core.error
Classes in org.assertj.core.error that implement ErrorMessageFactory Modifier and Type Class Description classAbstractShouldHaveTextContentBase class for text content error.classAnyElementShouldMatchclassBasicErrorMessageFactoryA factory of error messages typically shown when an assertion fails.classClassModifierShouldBeCreates an error message indicating that an assertion that verifies that a class is (or is not) final.classConditionAndGroupGenericParameterTypeShouldBeTheSameCreates an error message indicating that an assertion that verifies type of elements of group andConditionA group of elements can be a collection, an array.classElementsShouldBeCreates an error message indicating that an assertion that verifies that each element of a group satisfies aConditionA group of elements can be a collection, an array.classElementsShouldBeAtLeastCreates an error message indicating that an assertion that verifies elements of a group satisfies at least n times aConditionA group of elements can be a collection, an array.classElementsShouldBeAtMostCreates an error message indicating that an assertion that verifies elements of a group satisfies at most n times aConditionA group of elements can be a collection, an array.classElementsShouldBeExactlyCreates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times aConditionA group of elements can be a collection, an array.classElementsShouldHaveCreates an error message indicating that an assertion that verifies that each element of a group satisfies aConditionA group of elements can be a collection, an array.classElementsShouldHaveAtLeastCreates an error message indicating that an assertion that verifies elements of a group satisfies at least n times aConditionA group of elements can be a collection, an array.classElementsShouldHaveAtMostCreates an error message indicating that an assertion that verifies elements of a group satisfies at most n times aConditionA group of elements can be a collection, an array.classElementsShouldHaveExactlyCreates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times aConditionA group of elements can be a collection, an array.classElementsShouldMatchclassElementsShouldNotBeCreates an error message indicating that an assertion that not verifies that each element of a group satisfies aConditionA group of elements can be a collection, an array.classElementsShouldNotHaveCreates an error message indicating that an assertion that verifies that each element of a group satisfies aConditionA group of elements can be a collection, an array.classElementsShouldSatisfyclassNoElementsShouldMatchclassNoElementsShouldSatisfyclassOptionalDoubleShouldHaveValueCloseToOffsetBuild error message when anOptionalDoubleshould have a specific value close to an offset.classOptionalDoubleShouldHaveValueCloseToPercentageBuild error message when anOptionalDoubleshould be close to an expected value within a positive percentage.classOptionalShouldBeEmptyBuild error message when anOptionalshould be empty.classOptionalShouldBePresentBuild error message when a value should be present in anOptional.classOptionalShouldContainBuild error message when anOptional,OptionalDouble,OptionalIntorOptionalLongshould contain a specific value.classOptionalShouldContainInstanceOfBuild an error message when a value should be instance of a specific class.classShouldAcceptCreates an error message indicating that an assertion that verifies thataccepts a value failed.PredicateclassShouldBeCreates an error message indicating that an assertion that verifies that a value satisfies afailed.ConditionclassShouldBeAbsolutePathclassShouldBeAbstractclassShouldBeAfterCreates an error message indicating that an assertion that verifies that aDateis after another one failed.classShouldBeAfterOrEqualToCreates an error message indicating that an assertion that verifies that anObjectis after or equal to another one failed.classShouldBeAfterYearCreates an error message indicating that an assertion that verifies that aDateis after given year failed.classShouldBeAnArrayCreates an error message indicating that a group of elements should have been an array.classShouldBeAnnotationCreates an error message indicating that an assertion that verifies that a class is (or not) an annotation.classShouldBeAssignableFromCreates an error message indicating that an assertion that verifies that a class is assignable from.classShouldBeAtIndexCreates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that satisfies afailed.ConditionclassShouldBeBeforeCreates an error message indicating that an assertion that verifies that aObjectis before another one failed.classShouldBeBeforeOrEqualToCreates an error message indicating that an assertion that verifies that anObjectis before or equal to another one failed.classShouldBeBeforeYearCreates an error message indicating that an assertion that verifies that aDateis before given year failed.classShouldBeBetweenCreates an error message indicating that an assertion that verifies that aDateis between start - end dates (inclusive or not) failed.classShouldBeBlankCreates an error message indicating that an assertion that verifies aCharSequenceis blank.classShouldBeCanonicalPathCreates an error message indicating that an assertion that verifies that aPathis canonical has failed.classShouldBeCloseToCreates an error message indicating that an assertion that verifies that aDateis close to another one from some delta failed.classShouldBeDirectoryclassShouldBeEmptyCreates an error message indicating that an assertion that verifies a group of elements is empty failed.classShouldBeEmptyDirectoryclassShouldBeEqualByComparingFieldByFieldRecursivelyclassShouldBeEqualByComparingOnlyGivenFieldsCreates anindicating that an assertion that verifies that two objects are lenient equal by accepting fields failed.AssertionErrorclassShouldBeEqualIgnoringCaseCreates an error message indicating that an assertion that verifies that twoCharSequences are equal, ignoring case considerations, failed.classShouldBeEqualIgnoringHoursCreates an error message indicating that an assertion that verifies that twoZonedDateTimehave same year, month, and day fields failed.classShouldBeEqualIgnoringMinutesCreates an error message indicating that an assertion that verifies that twoZonedDateTimehave same year, month, day and hour fields failed.classShouldBeEqualIgnoringNanosCreates an error message indicating that an assertion that verifies that : twoZonedDateTime,LocalDateTimehave same year, month, day, hour, minute and second failed. twoLocalTimehave same hour, minute and second failed. twoOffsetTimehave same hour, minute and second failed.classShouldBeEqualIgnoringNewLineDifferencesclassShouldBeEqualIgnoringNewLinesclassShouldBeEqualIgnoringSecondsCreates an error message indicating that an assertion that verifies that twoZonedDateTimehave same year, month, day, hour and minute failed.classShouldBeEqualIgnoringTimezoneCreates an error message indicating that an assertion that verifies that twoOffsetTimehave same time fields except the timezone.classShouldBeEqualIgnoringWhitespaceCreates an error message indicating that an assertion that verifies that twoCharSequences are equal, ignoring whitespace differences, failed.classShouldBeEqualNormalizingWhitespaceCreates an error message indicating that an assertion that verifies that twoCharSequences are equal, after the whitespace of both strings has been normalized, failed.classShouldBeEqualToIgnoringFieldsCreates anindicating that an assertion that verifies that two objects are lenient equal by ignoring fields failed.AssertionErrorclassShouldBeEqualWithinOffsetCreates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.classShouldBeEqualWithinPercentageCreates an error message indicating that an assertion that verifies that two numbers are equal within a positive percentage failed.classShouldBeEqualWithTimePrecisionCreates anindicating that an assertion that verifies that two dates are equals up to a given precision failed.AssertionErrorclassShouldBeExactlyInstanceOfCreates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed.classShouldBeExecutableCreates an error message indicating that an assertion that verifies that ais executable failed.FileclassShouldBeExhaustedCreates an error message indicating that an assertion that verifies that anIteratorhas no more elements failed.classShouldBeFileCreates an error message indicating that an assertion that verifies that ais an existing file failed.FileclassShouldBeGreaterCreates an error message indicating that an assertion that verifies that a value is greater than another one failed.classShouldBeGreaterOrEqualCreates an error message indicating that an assertion that verifies that a value is greater than or equal to another one failed.classShouldBeInCreates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.classShouldBeInSameDayCreates an error message indicating that an assertion that verifies that aDateis in same year, month and day of month as another one failed.classShouldBeInSameHourCreates an error message indicating that an assertion that verifies that aDateis in same year, month, day of month and hour as another one failed.classShouldBeInSameHourWindowCreates an error message indicating that an assertion that verifies that aDateis in same hour window as another one failed.classShouldBeInSameMinuteCreates an error message indicating that an assertion that verifies that aDateis in same year, month, day of month, hour and minute as another one failed.classShouldBeInSameMinuteWindowCreates an error message indicating that an assertion that verifies that aDateis in minute window as another one failed.classShouldBeInSameMonthCreates an error message indicating that an assertion that verifies that aDateis in same year and month as another one failed.classShouldBeInSameSecondCreates an error message indicating that an assertion that verifies that aDateis in same year, month, day of month, hour, minute and second as another one failed.classShouldBeInSameSecondWindowCreates an error message indicating that an assertion that verifies that aDateis in second window as another one failed.classShouldBeInSameYearCreates an error message indicating that an assertion that verifies that aDateis in same year as another one failed.classShouldBeInstanceCreates an error message indicating that an assertion that verifies that an object is an instance of some type failed.classShouldBeInstanceOfAnyCreates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed.classShouldBeInterfaceCreates an error message indicating that an assertion that verifies that a class is (or not) an interface.classShouldBeInTheFutureCreates an error message indicating that an assertion that verifies that aDateis in the future failed.classShouldBeInThePastCreates an error message indicating that an assertion that verifies that aDateis in the past failed.classShouldBeLessCreates an error message indicating that an assertion that verifies that a value is less than another one failed.classShouldBeLessOrEqualCreates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.classShouldBeLowerCaseCreates an error message that indicates an assertion that verifies that a character is lowercase failed.classShouldBeMarkedclassShouldBeNormalizedAssertion error message delivered when aPathis not normalizedclassShouldBeNullOrEmptyCreates an error message indicating that an assertion that verifies a group of elements isnullor empty failed.classShouldBeOfClassInCreates an error message indicating that an assertion that verifies that an object is of type in group of types failed.classShouldBeReadableclassShouldBeRegularFileCreates an error message indicating that an assertion that verifies that aPathis a regular file has failed.classShouldBeRelativePathclassShouldBeSameCreates an error message indicating that an assertion that verifies that two object refer to same object failed.classShouldBeSortedCreates an error message indicating that an assertion that verifies a group of elements is sorted failed.
A group of elements can be a collection or an array.classShouldBeSubsetOfCreates an error message indicating that an assertion that verifies that anIterableis a subset of an other setIterablefailed.classShouldBeSubstringclassShouldBeSymbolicLinkCreates an error message indicating that an assertion that verifies that aPathis a regular file has failed.classShouldBeTodayCreates an error message indicating that an assertion that verifies that aDateis today (matching only year, month and day but not hours).classShouldBeUpperCaseCreates an error message that indicates an assertion that verifies that a character is uppercase failed.classShouldBeWritableCreates an error message indicating that an assertion that verifies that ais writable failed.FileclassShouldContainCreates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.classShouldContainAnyOfclassShouldContainAtIndexCreates an error message indicating that an assertion that verifies a group of elements contains a value at a given index failed.classShouldContainCharSequenceCreates an error message indicating that an assertion that verifies that aCharSequencecontains anotherCharSequencefailed.classShouldContainCharSequenceOnlyOnceCreates an error message indicating that an assertion that verifies that aCharSequencecontains anotherCharSequenceonly once failed.classShouldContainEntryCreates an error message indicating that an assertion that verifies a map contains an entry..classShouldContainExactlyCreates an error message indicating that an assertion that verifies a group of elements contains exactly a given set of values and nothing else failed, exactly meaning same elements in same order.classShouldContainExactlyInAnyOrderCreates an error message indicating that an assertion that verifies a group of elements contains exactly a given set of values and nothing else failed.classShouldContainKeyCreates an error message indicating that an assertion that verifies a map contains a key..classShouldContainKeysCreates an error message indicating that an assertion that verifies a map contains a key..classShouldContainNullCreates an error message indicating that an assertion that verifies a group of elements contains a null element failed.classShouldContainOneOrMoreWhitespacesCreates an error message indicating that an assertion that verifies that aCharSequencecontains one or more whitespaces.classShouldContainOnlyCreates an error message indicating that an assertion that verifies a group of elements contains only a given set of values and nothing else failed.classShouldContainOnlyDigitsCreates an error message indicating that an assertion that verifies a CharSequence contains only digits failed.classShouldContainOnlyKeysCreates an error message indicating that an assertion that verifies map contains only a given set of keys and nothing else failed.classShouldContainOnlyNullsCreates an error message indicating that an assertion that verifies a group of elements contains only null elements failed.classShouldContainOnlyWhitespacesCreates an error message indicating that an assertion that verifies aCharSequencecontains only whitespaces.classShouldContainPatternCreates an error message indicating that an assertion that verifies that aCharSequencecontains a pattern failed.classShouldContainSequenceCreates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values failed.classShouldContainSequenceOfCharSequenceCreates an error message indicating that an assertion that verifies that aCharSequencecontains a Sequence of severalCharSequences in order failed.classShouldContainsOnlyOnceCreates an error message indicating that an assertion that verifies a group of elements contains only a given set of values and nothing else failed.classShouldContainSubsequenceCreates an error message indicating that an assertion that verifies that a group of elements contains a subsequence of values failed.classShouldContainSubsequenceOfCharSequenceCreates an error message indicating that an assertion that verifies that aCharSequencecontains a Subsequence of severalCharSequences in order failed.classShouldContainValueCreates an error message indicating that an assertion that verifies a map contains a value.classShouldContainValuesCreates an error message indicating that an assertion that verifies a map contains a values.classShouldEndWithCreates an error message indicating that an assertion that verifies that a group of elements ends with a given value or sequence of values failed.classShouldEndWithPathclassShouldExistclassShouldHaveCreates an error message indicating that an assertion that verifies that a value satisfies afailed.ConditionclassShouldHaveAllNullFieldsCreates anindicating that an assertion that verifies that an object has null fields failed.AssertionErrorclassShouldHaveAnnotationsCreates an error message indicating that an assertion that verifies that a class have an annotation.classShouldHaveAtIndexCreates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that satisfies afailed.ConditionclassShouldHaveAtLeastOneElementOfTypeCreates an error message indicating that a group does not have an element of the given type.classShouldHaveBinaryContentCreates an error message indicating that an assertion that verifies that a file/path has a given binary content failed.classShouldHaveCauseclassShouldHaveCauseExactlyInstanceCreates an error message indicating that an assertion that verifies that aThrowablehave a cause exactly instance of a certain type.classShouldHaveCauseInstanceCreates an error message indicating that an assertion that verifies that aThrowablehave a cause instance of a certain type.classShouldHaveCauseReferenceclassShouldHaveContentCreates an error message indicating that an assertion that verifies that a file/path has a given text content failed.classShouldHaveDateFieldCreates an error message indicating that an assertion that verifies that aDatehas a year, month, day, ...classShouldHaveDigestCreates an error message indicating that an assertion that verifies that file/inputStream/path have digest failed.classShouldHaveExtensionCreates an error message indicating that aFileshould have extension.classShouldHaveFieldsCreates an error message indicating that an assertion that verifies that a class have field.classShouldHaveLineCountCreates an error message indicating that an assertion that verifies that a value have certain number of lines failed.classShouldHaveMessageCreates an error message indicating that an assertion that verifies that aThrowablehave certain message failed.classShouldHaveMessageFindingMatchRegexCreates an error message indicating that an assertion that verifies that aCharSequencematches given regular expression.classShouldHaveMessageMatchingRegexCreates an error message indicating that an assertion that verifies that aCharSequencematches given regular expression.classShouldHaveMethodsCreates an error message indicating that an assertion that verifies that a class have methods.classShouldHaveNameCreates an error message indicating that aFileshould have name.classShouldHaveNextCreates an error message indicating that an assertion that verifies that anIteratorhas a next element failed.classShouldHaveNoCauseCreates an error message indicating that an assertion that verifies that anThrowablehas no cause failed.classShouldHaveNoFieldsclassShouldHaveNoNullFieldsCreates anindicating that an assertion that verifies that an object has no null fields failed.AssertionErrorclassShouldHaveNoParentCreates an error message when aFileshould not have a parent.classShouldHaveNoSuppressedExceptionsCreates an error message indicating that an assertion that verifies that aThrowablehas no suppressed exceptions failed.classShouldHaveOnlyElementsOfTypeCreates an error message indicating that a group does not have an element of the given type.classShouldHaveParentCreates an error message indicating that aFileshould have a parent.classShouldHavePropertyOrFieldCreates an error message indicating that an assertion that verifies that a class has a given field/property.classShouldHavePropertyOrFieldWithValueCreates an error message indicating that an assertion that verifies that a class has a field/property with a value.classShouldHaveReferenceclassShouldHaveRootCauseclassShouldHaveRootCauseExactlyInstanceCreates an error message indicating that an assertion that verifies that aThrowablehave a root cause exactly instance of a certain type.classShouldHaveRootCauseInstanceCreates an error message indicating that an assertion that verifies that aThrowablehave a root cause instance of a certain type.classShouldHaveSameClassCreates an error message indicating that an assertion that verifies that an object have same class as another instance failed.classShouldHaveSameContentCreates an error message indicating that an assertion that verifies that two files/inputStreams/paths have same content failed.classShouldHaveSameHashCodeclassShouldHaveSameHourAsCreates an error message indicating that an assertion that verifies that twoZonedDateTimehave same year, month, day and hour fields failed.classShouldHaveSameSizeAsCreates an error message indicating that an assertion that verifies that a value have certain size failed.classShouldHaveSameTimeCreates an error message indicating that an assertion that verifies that a date has same time as other date.classShouldHaveSizeCreates an error message indicating that an assertion that verifies that a value have certain size failed.classShouldHaveSizeBetweenCreates an error message indicating that an assertion - that verifies that size of a value is between two given values - failed.classShouldHaveSizeGreaterThanCreates an error message indicating that an assertion that verifies a minimum size failed.classShouldHaveSizeGreaterThanOrEqualToCreates an error message indicating that an assertion that verifies a minimum size failed.classShouldHaveSizeLessThanCreates an error message indicating that an assertion that verifies a maximum size failed.classShouldHaveSizeLessThanOrEqualToCreates an error message indicating that an assertion that verifies a maximum size failed.classShouldHaveStampclassShouldHaveSuppressedExceptionCreates an error message indicating that an assertion that verifies that aThrowablehas a given suppressed exception failed.classShouldHaveTimeCreates an error message indicating that an assertion that verifies that a date have a certain timestamp.classShouldHaveToStringclassShouldHaveValueclassShouldMatchCreates an error message indicating that an assertion that verifies that a value satisfies afailed.PredicateclassShouldMatchPatternCreates an error message indicating that an assertion that verifies that aCharSequencematches a pattern failed.classShouldNotAcceptCreates an error message indicating that an assertion that verifies thatnot accepting a value failed.PredicateclassShouldNotBeCreates an error message indicating that an assertion that verifies that a value does not satisfy afailed.ConditionclassShouldNotBeBetweenCreates an error message indicating that an assertion that verifies that aDateis not between start - end dates (inclusive or not) failed.classShouldNotBeBlankCreates an error message indicating that an assertion that verifiesCharSequenceis not blank.classShouldNotBeEmptyCreates an error message indicating that an assertion that verifies a group of elements is not empty failed.classShouldNotBeEqualCreates an error message indicating that an assertion that verifies that two objects are not equal failed.classShouldNotBeEqualIgnoringCaseCreates an error message indicating that an assertion that verifies that twoCharSequences are not equal, ignoring case considerations, failed.classShouldNotBeEqualIgnoringWhitespaceCreates an error message indicating that an assertion that verifies that twoCharSequences are not equal, ignoring whitespace differences, failed.classShouldNotBeEqualNormalizingWhitespaceCreates an error message indicating that an assertion that verifies that twoCharSequences are not equal, after the whitespace of both strings has been normalized, failed.classShouldNotBeEqualWithinOffsetCreates an error message indicating that an assertion that verifies that two numbers are not equal within a positive offset failed.classShouldNotBeEqualWithinPercentageCreates an error message indicating that an assertion that verifies that two numbers are not equal within a positive percentage failed.classShouldNotBeExactlyInstanceOfCreates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type failed.classShouldNotBeInCreates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.classShouldNotBeInstanceCreates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.classShouldNotBeInstanceOfAnyCreates an error message indicating that an assertion that verifies that an object is not an instance of one or more types failed.classShouldNotBeNullCreates an error message that indicates an assertion that verifies that an object is notnullfailed.classShouldNotBeOfClassInCreates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.classShouldNotBeSameCreates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.classShouldNotContainCreates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values failed.classShouldNotContainAnyWhitespacesCreates an error message indicating that an assertion that verifies that aCharSequencedoes not contain whitespace characters.classShouldNotContainAtIndexCreates an error message indicating that an assertion that verifies a group of elements does not contain a value at a given index failed.classShouldNotContainCharSequenceCreates an error message indicating that an assertion that verifies that aCharSequencedoes not contain anotherCharSequencefailed.classShouldNotContainKeyCreates an error message indicating that an assertion that verifies a map does not contains a key failed.classShouldNotContainKeysCreates an error message indicating that an assertion that verifies a map does not contain keys.classShouldNotContainNullCreates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.classShouldNotContainOnlyWhitespacesCreates an error message indicating that an assertion that verifiesCharSequenceis not blank.classShouldNotContainPatternCreates an error message indicating that an assertion that verifies that aCharSequencedoes not contain a regular expression failed.classShouldNotContainSequenceCreates an error message indicating that an assertion that verifies that a group of elements does not contain a sequence of values failed.classShouldNotContainSubsequenceCreates an error message indicating that an assertion that verifies that a group of elements does not contains a subsequence of values failed.classShouldNotContainValueCreates an error message indicating that an assertion that verifies a map does not contains a value.classShouldNotEndWithCreates an error message indicating that an assertion that verifies that a group of elements does not end with a given value or sequence of values failed.classShouldNotExistclassShouldNotHaveCreates an error message indicating that an assertion that verifies that a value does not satisfy afailed.ConditionclassShouldNotHaveAnyElementsOfTypesclassShouldNotHaveDuplicatesCreates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.classShouldNotHaveSameClassCreates an error message indicating that an assertion that verifies that an object has same class as another instance failed.classShouldNotHaveThrownclassShouldNotMatchCreates an error message indicating that an assertion that verifies that a value not satisfying afailed.PredicateclassShouldNotMatchPatternCreates an error message indicating that an assertion that verifies that aCharSequencedoes not match a pattern failed.classShouldNotStartWithCreates an error message indicating that an assertion that verifies that a group of elements does not start with a given value or sequence of values failed.classShouldOnlyHaveElementsOfTypesCreates an error message indicating that an assertion that verifies a group of elements contains elements that are not an instance of one of the given types.classShouldOnlyHaveFieldsCreates an error message indicating that an assertion that verifies that a class has only the fields.classShouldSatisfyclassShouldStartWithCreates an error message indicating that an assertion that verifies that a group of elements starts with a given value or sequence of values failed.classShouldStartWithPathclassZippedElementsShouldSatisfyMethods in org.assertj.core.error that return ErrorMessageFactory Modifier and Type Method Description static ErrorMessageFactoryAnyElementShouldMatch. anyElementShouldMatch(Object actual, PredicateDescription predicateDescription)private static ErrorMessageFactoryShouldOnlyHaveFields. create(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected, boolean declared)static ErrorMessageFactoryShouldContain. directoryShouldContain(File actual, List<String> directoryContent, String filterDescription)static ErrorMessageFactoryShouldContain. directoryShouldContain(Path actual, List<String> directoryContent, String filterDescription)static ErrorMessageFactoryShouldNotContain. directoryShouldNotContain(File actual, List<String> matchingContent, String filterDescription)static ErrorMessageFactoryShouldNotContain. directoryShouldNotContain(Path actual, List<String> matchingContent, String filterDescription)static ErrorMessageFactoryShouldContainExactly. elementsDifferAtIndex(Object actualElement, Object expectedElement, int indexOfDifferentElements)Creates a newfor the case where actual and expected have the same elements in different order.ShouldContainExactlystatic ErrorMessageFactoryShouldContainExactly. elementsDifferAtIndex(Object actualElement, Object expectedElement, int indexOfDifferentElements, ComparisonStrategy comparisonStrategy)Creates a newfor the case where actual and expected have the same elements in different order according to the givenShouldContainExactlyComparisonStrategy.static ErrorMessageFactoryElementsShouldBe. elementsShouldBe(Object actual, Object notSatisfies, Condition<?> condition)Creates a new.ElementsShouldBestatic ErrorMessageFactoryElementsShouldBeAtLeast. elementsShouldBeAtLeast(Object actual, int times, Condition<?> condition)Creates a new.ElementsShouldBeAtLeaststatic ErrorMessageFactoryElementsShouldBeAtMost. elementsShouldBeAtMost(Object actual, int times, Condition<?> condition)Creates a new.ElementsShouldBeAtMoststatic ErrorMessageFactoryElementsShouldBeExactly. elementsShouldBeExactly(Object actual, int times, Condition<?> condition)Creates a new.ElementsShouldBeExactlystatic ErrorMessageFactoryElementsShouldHave. elementsShouldHave(Object actual, Object notSatisfies, Condition<?> condition)Creates a new.ElementsShouldHavestatic ErrorMessageFactoryElementsShouldHaveAtLeast. elementsShouldHaveAtLeast(Object actual, int times, Condition<?> condition)Creates a new.ElementsShouldHaveAtLeaststatic ErrorMessageFactoryElementsShouldHaveAtMost. elementsShouldHaveAtMost(Object actual, int times, Condition<?> condition)Creates a new.ElementsShouldHaveAtMoststatic ErrorMessageFactoryElementsShouldHaveExactly. elementsShouldHaveExactly(Object actual, int times, Condition<?> condition)Creates a new.ElementsShouldHaveExactlystatic <T> ErrorMessageFactoryElementsShouldMatch. elementsShouldMatch(Object actual, T elementsNotMatchingPredicate, PredicateDescription predicateDescription)static ErrorMessageFactoryElementsShouldNotBe. elementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition)Creates a new.ElementsShouldNotBestatic ErrorMessageFactoryElementsShouldNotHave. elementsShouldNotHave(Object actual, Object notSatisfies, Condition<?> condition)Creates a new.ElementsShouldNotHavestatic ErrorMessageFactoryElementsShouldSatisfy. elementsShouldSatisfy(Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRestrictions, AssertionInfo info)static ErrorMessageFactoryElementsShouldSatisfy. elementsShouldSatisfyAny(Object actual, List<ElementsShouldSatisfy.UnsatisfiedRequirement> elementsNotSatisfyingRequirements, AssertionInfo info)static <T> ErrorMessageFactoryNoElementsShouldMatch. noElementsShouldMatch(Object actual, T elementMatchingPredicate, PredicateDescription predicateDescription)static ErrorMessageFactoryNoElementsShouldSatisfy. noElementsShouldSatisfy(Object actual, Object faultyElement)static <T> ErrorMessageFactoryShouldAccept. shouldAccept(Predicate<? super T> predicate, T value, PredicateDescription description)Creates a new.ShouldAcceptstatic <T> ErrorMessageFactoryShouldBe. shouldBe(T actual, Condition<? super T> condition)Creates a new.ShouldBestatic ErrorMessageFactoryShouldBeAbsolutePath. shouldBeAbsolutePath(File actual)Creates a new.ShouldBeAbsolutePathstatic ErrorMessageFactoryShouldBeAbsolutePath. shouldBeAbsolutePath(Path actual)static ErrorMessageFactoryShouldBeAbstract. shouldBeAbstract(Class<?> actual)static ErrorMessageFactoryShouldBeAfter. shouldBeAfter(Object actual, Object other)Creates a new.ShouldBeAfterstatic ErrorMessageFactoryShouldBeAfter. shouldBeAfter(Object actual, Object other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeAfterstatic ErrorMessageFactoryShouldBeAfter. shouldBeAfter(Date actual, int year)Creates a new.ShouldBeAfterstatic ErrorMessageFactoryShouldBeAfterOrEqualTo. shouldBeAfterOrEqualTo(Object actual, Object other)Creates a new.ShouldBeAfterOrEqualTostatic ErrorMessageFactoryShouldBeAfterOrEqualTo. shouldBeAfterOrEqualTo(Object actual, Object other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeAfterOrEqualTostatic ErrorMessageFactoryShouldBeAfterYear. shouldBeAfterYear(Date actual, int year)Creates a new.ShouldBeAfterYearstatic ErrorMessageFactoryShouldBeAfterYear. shouldBeAfterYear(Date actual, int year, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeAfterYearstatic ErrorMessageFactoryShouldBeAnArray. shouldBeAnArray(Object object)Creates a new instance of.ShouldBeAnArraystatic ErrorMessageFactoryShouldBeAnnotation. shouldBeAnnotation(Class<?> actual)Creates a new.ShouldBeAnnotationstatic ErrorMessageFactoryShouldBeAssignableFrom. shouldBeAssignableFrom(Class<?> actual, Set<Class<?>> expectedAssignableFrom, Set<Class<?>> missingAssignableFrom)Creates a new.ShouldBeAssignableFromstatic <T> ErrorMessageFactoryShouldBeAtIndex. shouldBeAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)Creates a new.ShouldBeAtIndexstatic ErrorMessageFactoryShouldBeBefore. shouldBeBefore(Object actual, Object other)Creates a new.ShouldBeBeforestatic ErrorMessageFactoryShouldBeBefore. shouldBeBefore(Object actual, Object other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeBeforestatic ErrorMessageFactoryShouldBeBeforeOrEqualTo. shouldBeBeforeOrEqualTo(Object actual, Object other)Creates a new.ShouldBeBeforeOrEqualTostatic ErrorMessageFactoryShouldBeBeforeOrEqualTo. shouldBeBeforeOrEqualTo(Object actual, Object other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeBeforeOrEqualTostatic ErrorMessageFactoryShouldBeBeforeYear. shouldBeBeforeYear(Date actual, int year)Creates a new.ShouldBeBeforeYearstatic ErrorMessageFactoryShouldBeBeforeYear. shouldBeBeforeYear(Date actual, int year, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeBeforeYearstatic ErrorMessageFactoryShouldBeBetween. shouldBeBetween(Date actual, Date start, Date end, boolean inclusiveStart, boolean inclusiveEnd)Creates a new.ShouldBeBetweenstatic ErrorMessageFactoryShouldBeBetween. shouldBeBetween(Date actual, Date start, Date end, boolean inclusiveStart, boolean inclusiveEnd, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeBetweenstatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeBetween. shouldBeBetween(T actual, T start, T end, boolean inclusiveStart, boolean inclusiveEnd)Creates a new.ShouldBeBetweenstatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeBetween. shouldBeBetween(T actual, T start, T end, boolean inclusiveStart, boolean inclusiveEnd, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeBetweenstatic ErrorMessageFactoryShouldBeBlank. shouldBeBlank(CharSequence actual)Creates a new.ShouldBeBlankstatic ErrorMessageFactoryShouldBeCanonicalPath. shouldBeCanonicalPath(Path actual)static ErrorMessageFactoryShouldBeCloseTo. shouldBeCloseTo(Temporal actual, Temporal other, String differenceDescription)Creates a new.ShouldBeCloseTostatic ErrorMessageFactoryShouldBeCloseTo. shouldBeCloseTo(Date actual, Date other, long deltaInMilliseconds, long difference)Creates a new.ShouldBeCloseTostatic ErrorMessageFactoryShouldBeDirectory. shouldBeDirectory(File actual)static ErrorMessageFactoryShouldBeDirectory. shouldBeDirectory(Path actual)static ErrorMessageFactoryShouldBeEmpty. shouldBeEmpty(Object actual)Creates a new.ShouldBeEmptystatic ErrorMessageFactoryShouldBeEmptyDirectory. shouldBeEmptyDirectory(File actual, List<File> directoryContent)static ErrorMessageFactoryShouldBeEmptyDirectory. shouldBeEmptyDirectory(Path actual, List<Path> directoryContent)static ErrorMessageFactoryShouldBeEqualIgnoringCase. shouldBeEqual(CharSequence actual, CharSequence expected)Creates a new.ShouldBeEqualIgnoringCasestatic <T extends Number>
ErrorMessageFactoryShouldBeEqualWithinOffset. shouldBeEqual(T actual, T expected, Offset<T> offset, T difference)Creates a new.ShouldBeEqualWithinOffsetstatic ErrorMessageFactoryShouldBeEqualWithTimePrecision. shouldBeEqual(Date actual, Date expected, TimeUnit precision)Creates a new.ShouldBeEqualWithTimePrecisionstatic ErrorMessageFactoryShouldBeEqualByComparingFieldByFieldRecursively. shouldBeEqualByComparingFieldByFieldRecursive(Object actual, Object other, List<DeepDifference.Difference> differences, Representation representation)static ErrorMessageFactoryShouldBeEqualByComparingFieldByFieldRecursively. shouldBeEqualByComparingFieldByFieldRecursively(Object actual, Object other, List<ComparisonDifference> differences, RecursiveComparisonConfiguration recursiveComparisonConfiguration, Representation representation)static ErrorMessageFactoryShouldBeEqualByComparingOnlyGivenFields. shouldBeEqualComparingOnlyGivenFields(Object actual, List<String> rejectedFields, List<Object> rejectedValues, List<Object> expectedValues, List<String> acceptedFields)Creates a new.ShouldBeEqualByComparingOnlyGivenFieldsstatic ErrorMessageFactoryShouldBeEqualIgnoringHours. shouldBeEqualIgnoringHours(Object actual, Object other)Creates a new.ShouldBeEqualIgnoringHoursstatic ErrorMessageFactoryShouldBeEqualIgnoringMinutes. shouldBeEqualIgnoringMinutes(Object actual, Object other)Creates a new.ShouldBeEqualIgnoringMinutesstatic ErrorMessageFactoryShouldBeEqualIgnoringMinutes. shouldBeEqualIgnoringMinutes(LocalTime actual, LocalTime other)Creates a new.ShouldBeEqualIgnoringSecondsstatic ErrorMessageFactoryShouldBeEqualIgnoringMinutes. shouldBeEqualIgnoringMinutes(OffsetTime actual, OffsetTime other)Creates a new.ShouldBeEqualIgnoringSecondsstatic ErrorMessageFactoryShouldBeEqualIgnoringNanos. shouldBeEqualIgnoringNanos(Object actual, Object other)Creates a new.ShouldBeEqualIgnoringNanosstatic ErrorMessageFactoryShouldBeEqualIgnoringNanos. shouldBeEqualIgnoringNanos(LocalTime actual, LocalTime other)Creates a new.ShouldBeEqualIgnoringNanosstatic ErrorMessageFactoryShouldBeEqualIgnoringNanos. shouldBeEqualIgnoringNanos(OffsetTime actual, OffsetTime other)Creates a new.ShouldBeEqualIgnoringNanosstatic ErrorMessageFactoryShouldBeEqualIgnoringNewLineDifferences. shouldBeEqualIgnoringNewLineDifferences(CharSequence actual, CharSequence expected)static ErrorMessageFactoryShouldBeEqualIgnoringNewLines. shouldBeEqualIgnoringNewLines(CharSequence actual, CharSequence expected)static ErrorMessageFactoryShouldBeEqualIgnoringSeconds. shouldBeEqualIgnoringSeconds(Object actual, Object other)Creates a new.ShouldBeEqualIgnoringSecondsstatic ErrorMessageFactoryShouldBeEqualIgnoringSeconds. shouldBeEqualIgnoringSeconds(LocalTime actual, LocalTime other)Creates a new.ShouldBeEqualIgnoringSecondsstatic ErrorMessageFactoryShouldBeEqualIgnoringSeconds. shouldBeEqualIgnoringSeconds(OffsetTime actual, OffsetTime other)Creates a new.ShouldBeEqualIgnoringSecondsstatic ErrorMessageFactoryShouldBeEqualIgnoringTimezone. shouldBeEqualIgnoringTimezone(OffsetDateTime actual, OffsetDateTime other)Creates a new.ShouldBeEqualIgnoringTimezonestatic ErrorMessageFactoryShouldBeEqualIgnoringTimezone. shouldBeEqualIgnoringTimezone(OffsetTime actual, OffsetTime other)Creates a new.ShouldBeEqualIgnoringTimezonestatic ErrorMessageFactoryShouldBeEqualIgnoringWhitespace. shouldBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected)Creates a new.ShouldBeEqualIgnoringWhitespacestatic ErrorMessageFactoryShouldBeEqualNormalizingWhitespace. shouldBeEqualNormalizingWhitespace(CharSequence actual, CharSequence expected)Creates a new.ShouldBeEqualNormalizingWhitespacestatic ErrorMessageFactoryShouldBeEqualToIgnoringFields. shouldBeEqualToIgnoringGivenFields(Object actual, List<String> rejectedFields, List<Object> rejectedValues, List<Object> expectedValues, List<String> ignoredFields)Creates a new.ShouldBeEqualToIgnoringFieldsstatic <T extends Number>
ErrorMessageFactoryShouldBeEqualWithinPercentage. shouldBeEqualWithinPercentage(T actual, T expected, Percentage percentage, T difference)Creates a new.ShouldBeEqualWithinPercentagestatic ErrorMessageFactoryShouldBeExactlyInstanceOf. shouldBeExactlyInstance(Object actual, Class<?> type)Creates a new.ShouldBeExactlyInstanceOfstatic ErrorMessageFactoryShouldBeExecutable. shouldBeExecutable(File actual)Creates a new.ShouldBeExecutablestatic ErrorMessageFactoryShouldBeExecutable. shouldBeExecutable(Path actual)static ErrorMessageFactoryShouldBeExhausted. shouldBeExhausted()Creates a new.ShouldBeExhaustedstatic ErrorMessageFactoryShouldBeFile. shouldBeFile(File actual)Creates a new.ShouldBeFilestatic ErrorMessageFactoryClassModifierShouldBe. shouldBeFinal(Class<?> actual)Creates a newClassModifierShouldBe.static <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeGreater. shouldBeGreater(T actual, T other)Creates a new.ShouldBeGreaterstatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeGreater. shouldBeGreater(T actual, T other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeGreaterstatic <T extends Comparable<T>>
ErrorMessageFactoryShouldBeGreaterOrEqual. shouldBeGreaterOrEqual(T actual, T other)Creates a new.ShouldBeGreaterOrEqualstatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeGreaterOrEqual. shouldBeGreaterOrEqual(T actual, T other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeGreaterOrEqualstatic ErrorMessageFactoryShouldBeIn. shouldBeIn(Object actual, Object values)Creates a new.ShouldBeInstatic ErrorMessageFactoryShouldBeIn. shouldBeIn(Object actual, Object values, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeInstatic ErrorMessageFactoryShouldBeInSameDay. shouldBeInSameDay(Date actual, Date other)Creates a new.ShouldBeInSameDaystatic ErrorMessageFactoryShouldBeInSameHour. shouldBeInSameHour(Date actual, Date other)Creates a new.ShouldBeInSameHourstatic ErrorMessageFactoryShouldBeInSameHourWindow. shouldBeInSameHourWindow(Date actual, Date other)Creates a new.ShouldBeInSameHourWindowstatic ErrorMessageFactoryShouldBeInSameMinute. shouldBeInSameMinute(Date actual, Date other)Creates a new.ShouldBeInSameMinutestatic ErrorMessageFactoryShouldBeInSameMinuteWindow. shouldBeInSameMinuteWindow(Date actual, Date other)Creates a new.ShouldBeInSameMinuteWindowstatic ErrorMessageFactoryShouldBeInSameMonth. shouldBeInSameMonth(Date actual, Date other)Creates a new.ShouldBeInSameMonthstatic ErrorMessageFactoryShouldBeInSameSecond. shouldBeInSameSecond(Date actual, Date other)Creates a new.ShouldBeInSameSecondstatic ErrorMessageFactoryShouldBeInSameSecondWindow. shouldBeInSameSecondWindow(Date actual, Date other)static ErrorMessageFactoryShouldBeInSameYear. shouldBeInSameYear(Date actual, Date other)Creates a new.ShouldBeInSameYearstatic ErrorMessageFactoryShouldBeInstance. shouldBeInstance(Object object, Class<?> type)Creates a new.ShouldBeInstancestatic ErrorMessageFactoryShouldBeInstance. shouldBeInstanceButWasNull(String objectDescription, Class<?> type)Creates a newwhen object we want to check type is null.ShouldBeInstancestatic ErrorMessageFactoryShouldBeInstanceOfAny. shouldBeInstanceOfAny(Object actual, Class<?>[] types)Creates a new.ShouldBeInstanceOfAnystatic ErrorMessageFactoryShouldBeInterface. shouldBeInterface(Class<?> actual)Creates a new.ShouldBeInterfacestatic ErrorMessageFactoryShouldBeInTheFuture. shouldBeInTheFuture(Date actual)Creates a new.ShouldBeInTheFuturestatic ErrorMessageFactoryShouldBeInTheFuture. shouldBeInTheFuture(Date actual, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeInTheFuturestatic ErrorMessageFactoryShouldBeInThePast. shouldBeInThePast(Date actual)Creates a new.ShouldBeInThePaststatic ErrorMessageFactoryShouldBeInThePast. shouldBeInThePast(Date actual, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeInThePaststatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeLess. shouldBeLess(T actual, T other)Creates a new.ShouldBeLessstatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeLess. shouldBeLess(T actual, T other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeLessstatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeLessOrEqual. shouldBeLessOrEqual(T actual, T other)Creates a new.ShouldBeLessOrEqualstatic <T extends Comparable<? super T>>
ErrorMessageFactoryShouldBeLessOrEqual. shouldBeLessOrEqual(T actual, T other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeLessOrEqualstatic ErrorMessageFactoryShouldBeLowerCase. shouldBeLowerCase(Object actual)Creates a new.ShouldBeLowerCasestatic ErrorMessageFactoryShouldBeMarked. shouldBeMarked(AtomicMarkableReference<?> actual)static ErrorMessageFactoryShouldBeNormalized. shouldBeNormalized(Path actual)static ErrorMessageFactoryShouldBeNullOrEmpty. shouldBeNullOrEmpty(Object actual)Creates a new instance of.ShouldBeNullOrEmptystatic ErrorMessageFactoryShouldBeOfClassIn. shouldBeOfClassIn(Object actual, Object types)Creates a new.ShouldBeOfClassInstatic ErrorMessageFactoryClassModifierShouldBe. shouldBeProtected(Class<?> actual)Creates a newClassModifierShouldBe.static ErrorMessageFactoryClassModifierShouldBe. shouldBePublic(Class<?> actual)Creates a newClassModifierShouldBe.static ErrorMessageFactoryShouldBeReadable. shouldBeReadable(File actual)Creates a new.ShouldBeReadablestatic ErrorMessageFactoryShouldBeReadable. shouldBeReadable(Path actual)static ErrorMessageFactoryShouldBeRegularFile. shouldBeRegularFile(Path actual)static ErrorMessageFactoryShouldBeRelativePath. shouldBeRelativePath(File actual)Creates a new.ShouldBeRelativePathstatic ErrorMessageFactoryShouldBeRelativePath. shouldBeRelativePath(Path actual)static ErrorMessageFactoryShouldBeSame. shouldBeSame(Object actual, Object expected)Creates a new.ShouldBeSamestatic ErrorMessageFactoryConditionAndGroupGenericParameterTypeShouldBeTheSame. shouldBeSameGenericBetweenIterableAndCondition(Object actual, Condition<?> condition)Creates a newConditionAndGroupGenericParameterTypeShouldBeTheSamestatic ErrorMessageFactoryShouldBeSorted. shouldBeSorted(int i, Object group)Creates a new.ShouldBeSortedstatic ErrorMessageFactoryShouldBeSorted. shouldBeSortedAccordingToGivenComparator(int i, Object group, Comparator<?> comparator)static ErrorMessageFactoryShouldBeSubsetOf. shouldBeSubsetOf(Object actual, Object values, Iterable<?> unexpected)Creates a new.ShouldBeSubsetOfstatic ErrorMessageFactoryShouldBeSubsetOf. shouldBeSubsetOf(Object actual, Object values, Iterable<?> unexpected, ComparisonStrategy comparisonStrategy)Creates a newShouldBeSubsetOfstatic ErrorMessageFactoryShouldBeSubstring. shouldBeSubstring(CharSequence actual, CharSequence expected, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeSubstringstatic ErrorMessageFactoryShouldBeSymbolicLink. shouldBeSymbolicLink(Path actual)static ErrorMessageFactoryShouldBeToday. shouldBeToday(LocalDate actual)Creates a new.ShouldBeTodaystatic ErrorMessageFactoryShouldBeToday. shouldBeToday(Date actual)Creates a new.ShouldBeTodaystatic ErrorMessageFactoryShouldBeToday. shouldBeToday(Date actual, ComparisonStrategy comparisonStrategy)Creates a new.ShouldBeTodaystatic ErrorMessageFactoryShouldBeUpperCase. shouldBeUpperCase(Object actual)Creates a new.ShouldBeUpperCasestatic ErrorMessageFactoryShouldBeWritable. shouldBeWritable(File actual)Creates a new.ShouldBeWritablestatic ErrorMessageFactoryShouldBeWritable. shouldBeWritable(Path actual)static ErrorMessageFactoryShouldContain. shouldContain(Object actual, Object expected, Object notFound)Creates a new.ShouldContainstatic ErrorMessageFactoryShouldContain. shouldContain(Object actual, Object expected, Object notFound, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainstatic ErrorMessageFactoryShouldContainCharSequence. shouldContain(CharSequence actual, CharSequence sequence)Creates a new.ShouldContainCharSequencestatic ErrorMessageFactoryShouldContainCharSequence. shouldContain(CharSequence actual, CharSequence[] strings, Set<? extends CharSequence> notFound)Creates a new.ShouldContainCharSequencestatic ErrorMessageFactoryShouldContainCharSequence. shouldContain(CharSequence actual, CharSequence[] strings, Set<? extends CharSequence> notFound, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainCharSequencestatic ErrorMessageFactoryShouldContainCharSequence. shouldContain(CharSequence actual, CharSequence sequence, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainCharSequencestatic ErrorMessageFactoryShouldContainAnyOf. shouldContainAnyOf(Object actual, Object expected)static ErrorMessageFactoryShouldContainAnyOf. shouldContainAnyOf(Object actual, Object expected, ComparisonStrategy comparisonStrategy)static ErrorMessageFactoryShouldContainAtIndex. shouldContainAtIndex(Object actual, Object expected, Index index, Object found)Creates a new.ShouldContainAtIndexstatic ErrorMessageFactoryShouldContainAtIndex. shouldContainAtIndex(Object actual, Object expected, Index index, Object found, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainAtIndexstatic <K,V>
ErrorMessageFactoryShouldContainEntry. shouldContainEntry(Map<K,V> actual, Condition<?> entryCondition)Creates a new.ShouldContainEntrystatic <K,V>
ErrorMessageFactoryShouldContainEntry. shouldContainEntry(Map<K,V> actual, Condition<? super K> keyCondition, Condition<? super V> valueCondition)Creates a new.ShouldContainEntrystatic ErrorMessageFactoryShouldContainExactly. shouldContainExactly(Object actual, Iterable<?> expected, Iterable<?> notFound, Iterable<?> notExpected)Creates a new.ShouldContainExactlystatic ErrorMessageFactoryShouldContainExactly. shouldContainExactly(Object actual, Iterable<?> expected, Iterable<?> notFound, Iterable<?> notExpected, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainExactlystatic ErrorMessageFactoryShouldContainExactlyInAnyOrder. shouldContainExactlyInAnyOrder(Object actual, Object expected, Iterable<?> notFound, Iterable<?> notExpected, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainExactlyInAnyOrderstatic ErrorMessageFactoryShouldContainCharSequence. shouldContainIgnoringCase(CharSequence actual, CharSequence sequence)Creates a new.ShouldContainCharSequencestatic ErrorMessageFactoryShouldContainKey. shouldContainKey(Object actual, Condition<?> keyCondition)Creates a new.ShouldContainKeystatic <K> ErrorMessageFactoryShouldContainKeys. shouldContainKeys(Object actual, Set<K> keys)Creates a new.ShouldContainKeysstatic ErrorMessageFactoryShouldContainNull. shouldContainNull(Object actual)Creates a new.ShouldContainNullstatic ErrorMessageFactoryShouldContainOneOrMoreWhitespaces. shouldContainOneOrMoreWhitespaces(CharSequence actual)Creates a new.ShouldContainOneOrMoreWhitespacesstatic ErrorMessageFactoryShouldContainOnly. shouldContainOnly(Object actual, Object expected, Iterable<?> notFound, Iterable<?> notExpected)Creates a new.ShouldContainOnlystatic ErrorMessageFactoryShouldContainOnly. shouldContainOnly(Object actual, Object expected, Iterable<?> notFound, Iterable<?> notExpected, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainOnlystatic ErrorMessageFactoryShouldContainOnlyDigits. shouldContainOnlyDigits(CharSequence actual)Creates a new.ShouldContainOnlyDigitsstatic ErrorMessageFactoryShouldContainOnlyDigits. shouldContainOnlyDigits(CharSequence actual, char character, int index)Creates a new.ShouldContainOnlyDigitsstatic ErrorMessageFactoryShouldContainOnlyKeys. shouldContainOnlyKeys(Object actual, Object expected, Object notFound, Iterable<?> notExpected)Creates a new.ShouldContainOnlyKeysstatic ErrorMessageFactoryShouldContainOnlyKeys. shouldContainOnlyKeys(Object actual, Object expected, Object notFound, Object notExpected)Creates a new.ShouldContainOnlyKeysstatic ErrorMessageFactoryShouldContainOnlyNulls. shouldContainOnlyNulls(Object actual)Creates a new.ShouldContainOnlyNullsstatic ErrorMessageFactoryShouldContainOnlyNulls. shouldContainOnlyNulls(Object actual, Iterable<?> nonNullElements)static ErrorMessageFactoryShouldContainCharSequenceOnlyOnce. shouldContainOnlyOnce(CharSequence actual, CharSequence sequence, int occurrences)Creates a new.ShouldContainCharSequenceOnlyOncestatic ErrorMessageFactoryShouldContainCharSequenceOnlyOnce. shouldContainOnlyOnce(CharSequence actual, CharSequence sequence, int occurrences, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainCharSequenceOnlyOncestatic ErrorMessageFactoryShouldContainOnlyWhitespaces. shouldContainOnlyWhitespaces(CharSequence actual)Creates a new.ShouldContainOnlyWhitespacesstatic ErrorMessageFactoryShouldContainPattern. shouldContainPattern(CharSequence actual, CharSequence pattern)Creates a new.ShouldContainPatternstatic ErrorMessageFactoryShouldContainSequence. shouldContainSequence(Object actual, Object sequence)Creates a new.ShouldContainSequencestatic ErrorMessageFactoryShouldContainSequence. shouldContainSequence(Object actual, Object sequence, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainSequencestatic ErrorMessageFactoryShouldContainSequenceOfCharSequence. shouldContainSequence(CharSequence actual, CharSequence[] sequence)Create a new.ShouldContainSequenceOfCharSequencestatic ErrorMessageFactoryShouldContainSequenceOfCharSequence. shouldContainSequence(CharSequence actual, CharSequence[] sequence, ComparisonStrategy comparisonStrategy)Create a new.ShouldContainSequenceOfCharSequencestatic ErrorMessageFactoryShouldContainsOnlyOnce. shouldContainsOnlyOnce(Object actual, Object expected, Set<?> notFound, Set<?> notOnlyOnce)Creates a new.ShouldContainsOnlyOncestatic ErrorMessageFactoryShouldContainsOnlyOnce. shouldContainsOnlyOnce(Object actual, Object expected, Set<?> notFound, Set<?> notOnlyOnce, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainsOnlyOncestatic ErrorMessageFactoryShouldContainSubsequence. shouldContainSubsequence(Object actual, Object subsequence)Creates a new.ShouldContainSubsequencestatic ErrorMessageFactoryShouldContainSubsequence. shouldContainSubsequence(Object actual, Object subsequence, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainSubsequencestatic ErrorMessageFactoryShouldContainSubsequenceOfCharSequence. shouldContainSubsequence(CharSequence actual, CharSequence[] strings, int firstBadOrderIndex)Creates a new.ShouldContainSubsequenceOfCharSequencestatic ErrorMessageFactoryShouldContainSubsequenceOfCharSequence. shouldContainSubsequence(CharSequence actual, CharSequence[] strings, int badOrderIndex, ComparisonStrategy comparisonStrategy)Creates a new.ShouldContainSubsequenceOfCharSequencestatic ErrorMessageFactoryShouldContainValue. shouldContainValue(Object actual, Object value)Creates a new.ShouldContainValuestatic ErrorMessageFactoryShouldContainValue. shouldContainValue(Object actual, Condition<?> valueCondition)Creates a new.ShouldContainValuestatic <V> ErrorMessageFactoryShouldContainValues. shouldContainValues(Object actual, Set<V> values)Creates a new.ShouldContainValuesstatic ErrorMessageFactoryShouldEndWith. shouldEndWith(Object actual, Object expected)Creates a new.ShouldEndWithstatic ErrorMessageFactoryShouldEndWith. shouldEndWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy)Creates a new.ShouldEndWithstatic ErrorMessageFactoryShouldEndWithPath. shouldEndWith(Path actual, Path other)static ErrorMessageFactoryShouldExist. shouldExist(File actual)Creates a new.ShouldExiststatic ErrorMessageFactoryShouldExist. shouldExist(Path actual)static ErrorMessageFactoryShouldExist. shouldExistNoFollowLinks(Path actual)static ErrorMessageFactoryShouldNotExist. shouldExistNoFollowLinks(Path actual)static <T> ErrorMessageFactoryShouldHave. shouldHave(T actual, Condition<? super T> condition)Creates a new.ShouldHavestatic ErrorMessageFactoryShouldHaveAnnotations. shouldHaveAnnotations(Class<?> actual, Collection<Class<? extends Annotation>> expected, Collection<Class<? extends Annotation>> missing)Creates a new.ShouldHaveAnnotationsstatic <T> ErrorMessageFactoryShouldHaveAtIndex. shouldHaveAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)Creates a new.ShouldHaveAtIndexstatic ErrorMessageFactoryShouldHaveBinaryContent. shouldHaveBinaryContent(File actual, BinaryDiffResult diff)Creates a new.ShouldHaveBinaryContentstatic ErrorMessageFactoryShouldHaveBinaryContent. shouldHaveBinaryContent(Path actual, BinaryDiffResult diff)Creates a new.ShouldHaveBinaryContentstatic ErrorMessageFactoryShouldHaveCause. shouldHaveCause(Throwable actualCause, Throwable expectedCause)static ErrorMessageFactoryShouldHaveCauseExactlyInstance. shouldHaveCauseExactlyInstance(Throwable actual, Class<? extends Throwable> expectedCauseType)Creates a new.BasicErrorMessageFactorystatic ErrorMessageFactoryShouldHaveCauseInstance. shouldHaveCauseInstance(Throwable actual, Class<? extends Throwable> expectedCauseType)Creates a new.BasicErrorMessageFactorystatic ErrorMessageFactoryShouldHaveCauseReference. shouldHaveCauseReference(Throwable actualCause, Throwable expectedCause)static ErrorMessageFactoryShouldBeSorted. shouldHaveComparableElementsAccordingToGivenComparator(Object actual, Comparator<?> comparator)static ErrorMessageFactoryShouldHaveContent. shouldHaveContent(File actual, Charset charset, List<Delta<String>> diffs)Creates a new.ShouldHaveContentstatic ErrorMessageFactoryShouldHaveContent. shouldHaveContent(Path actual, Charset charset, List<Delta<String>> diffs)Creates a new.ShouldHaveContentstatic ErrorMessageFactoryShouldHaveDateField. shouldHaveDateField(Date actual, String fieldDescription, int fieldValue)Creates a new.ShouldHaveDateFieldstatic ErrorMessageFactoryShouldHaveFields. shouldHaveDeclaredFields(Class<?> actual, Set<String> expected, Set<String> missing)Creates a new.ShouldHaveFieldsstatic ErrorMessageFactoryShouldHaveDigest. shouldHaveDigest(File actualSource, DigestDiff diff)static ErrorMessageFactoryShouldHaveDigest. shouldHaveDigest(InputStream actualSource, DigestDiff diff)static ErrorMessageFactoryShouldHaveDigest. shouldHaveDigest(Path actualSource, DigestDiff diff)static ErrorMessageFactoryShouldHaveFields. shouldHaveFields(Class<?> actual, Set<String> expected, Set<String> missing)Creates a new.ShouldHaveFieldsstatic ErrorMessageFactoryShouldHaveLineCount. shouldHaveLinesCount(Object actual, int actualSize, int expectedSize)Creates a new.ShouldHaveLineCountstatic ErrorMessageFactoryShouldHaveMessage. shouldHaveMessage(Throwable actual, String expectedMessage)Creates a new.ShouldHaveMessagestatic ErrorMessageFactoryShouldHaveMessageFindingMatchRegex. shouldHaveMessageFindingMatchRegex(Throwable actual, CharSequence regex)static ErrorMessageFactoryShouldHaveMessageMatchingRegex. shouldHaveMessageMatchingRegex(Throwable actual, CharSequence regex)static ErrorMessageFactoryShouldHaveMethods. shouldHaveMethods(Class<?> actual, boolean declared, SortedSet<String> expected, String modifier, Map<String,String> nonMatching)static ErrorMessageFactoryShouldHaveMethods. shouldHaveMethods(Class<?> actual, boolean declared, SortedSet<String> expected, SortedSet<String> missing)Creates a new.ShouldHaveMethodsstatic ErrorMessageFactoryShouldBeSorted. shouldHaveMutuallyComparableElements(Object actual)static ErrorMessageFactoryShouldHaveNext. shouldHaveNext()Creates a new.ShouldHaveNextstatic ErrorMessageFactoryShouldHaveNoCause. shouldHaveNoCause(Throwable actual)Creates a new.ShouldHaveNoCausestatic ErrorMessageFactoryShouldHaveNoFields. shouldHaveNoDeclaredFields(Class<?> actual, Set<String> fields)static ErrorMessageFactoryShouldHaveNoFields. shouldHaveNoPublicFields(Class<?> actual, Set<String> fields)static ErrorMessageFactoryShouldHaveNoSuppressedExceptions. shouldHaveNoSuppressedExceptions(Object actual)Creates a new.ShouldHaveNoSuppressedExceptionsstatic ErrorMessageFactoryShouldHavePropertyOrField. shouldHavePropertyOrField(Object actual, String name)Creates a new.ShouldHavePropertyOrFieldstatic ErrorMessageFactoryShouldHavePropertyOrFieldWithValue. shouldHavePropertyOrFieldWithValue(Object actual, String name, Object expectedValue, Object actualValue)Creates a new.ShouldHavePropertyOrFieldWithValuestatic <REF> ErrorMessageFactoryShouldHaveReference. shouldHaveReference(Object actual, REF actualReference, REF expectedReference)static ErrorMessageFactoryShouldHaveRootCause. shouldHaveRootCause(Throwable actualCause, Throwable expectedCause)static ErrorMessageFactoryShouldHaveRootCauseExactlyInstance. shouldHaveRootCauseExactlyInstance(Throwable actual, Class<? extends Throwable> expectedCauseType)Creates a new.BasicErrorMessageFactorystatic ErrorMessageFactoryShouldHaveRootCauseInstance. shouldHaveRootCauseInstance(Throwable actual, Class<? extends Throwable> expectedCauseType)Creates a new.BasicErrorMessageFactorystatic ErrorMessageFactoryShouldHaveSameClass. shouldHaveSameClass(Object actual, Object other)Creates a new.ShouldHaveSameClassstatic ErrorMessageFactoryShouldHaveSameContent. shouldHaveSameContent(File actual, File expected, List<Delta<String>> diffs)Creates a new.ShouldHaveSameContentstatic ErrorMessageFactoryShouldHaveSameContent. shouldHaveSameContent(InputStream actual, InputStream expected, List<Delta<String>> diffs)Creates a new.ShouldHaveSameContentstatic ErrorMessageFactoryShouldHaveSameContent. shouldHaveSameContent(InputStream actual, String expected, List<Delta<String>> diffs)Creates a new.ShouldHaveSameContentstatic ErrorMessageFactoryShouldHaveSameContent. shouldHaveSameContent(Path actual, Path expected, List<Delta<String>> diffs)Creates a new.ShouldHaveSameContentstatic ErrorMessageFactoryShouldHaveSameHashCode. shouldHaveSameHashCode(Object actual, Object other)static ErrorMessageFactoryShouldHaveSameHourAs. shouldHaveSameHourAs(Temporal actual, Temporal other)Creates a new.ShouldHaveSameHourAsstatic ErrorMessageFactoryShouldHaveSameSizeAs. shouldHaveSameSizeAs(Object actual, Object actualSize, Object expectedSize)Creates a new.ShouldHaveSameSizeAsstatic ErrorMessageFactoryShouldHaveSameTime. shouldHaveSameTime(Date actual, Date expected)Creates a new.ShouldHaveSameTimestatic ErrorMessageFactoryShouldHaveSize. shouldHaveSize(Object actual, int actualSize, int expectedSize)Creates a new.ShouldHaveSizestatic ErrorMessageFactoryShouldHaveSizeBetween. shouldHaveSizeBetween(Object actual, int actualSize, int lowerBoundary, int higherBoundary)Creates a new.ShouldHaveSizeBetweenstatic ErrorMessageFactoryShouldHaveSizeGreaterThan. shouldHaveSizeGreaterThan(Object actual, int actualSize, int expectedMinSize)Creates a new.ShouldHaveSizeGreaterThanstatic ErrorMessageFactoryShouldHaveSizeGreaterThanOrEqualTo. shouldHaveSizeGreaterThanOrEqualTo(Object actual, int actualSize, int expectedMinSize)Creates a new.ShouldHaveSizeGreaterThanOrEqualTostatic ErrorMessageFactoryShouldHaveSizeLessThan. shouldHaveSizeLessThan(Object actual, int actualSize, int expectedMaxSize)Creates a new.ShouldHaveSizeLessThanstatic ErrorMessageFactoryShouldHaveSizeLessThanOrEqualTo. shouldHaveSizeLessThanOrEqualTo(Object actual, int actualSize, int expectedMaxSize)Creates a new.ShouldHaveSizeLessThanOrEqualTostatic ErrorMessageFactoryShouldHaveStamp. shouldHaveStamp(AtomicStampedReference<?> actual, int expectedStamp)static ErrorMessageFactoryShouldHaveSuppressedException. shouldHaveSuppressedException(Throwable actual, Throwable expectedSuppressedException)Creates a new.ShouldHaveSuppressedExceptionstatic ErrorMessageFactoryShouldHaveTime. shouldHaveTime(Date actual, long expectedTimestamp)Creates a new.ShouldHaveTimestatic ErrorMessageFactoryShouldHaveToString. shouldHaveToString(Object actual, String expectedToString)static <REF> ErrorMessageFactoryShouldHaveValue. shouldHaveValue(Object actual, REF expectedValue)static <REF> ErrorMessageFactoryShouldHaveValue. shouldHaveValue(Object actual, REF actualValue, REF expectedValue, Object objectToUpdate)static <T> ErrorMessageFactoryShouldMatch. shouldMatch(T actual, Predicate<? super T> predicate, PredicateDescription predicateDescription)Creates a new.ShouldMatchstatic ErrorMessageFactoryShouldMatchPattern. shouldMatch(CharSequence actual, CharSequence pattern)Creates a new.ShouldMatchPatternstatic <T> ErrorMessageFactoryShouldNotAccept. shouldNotAccept(Predicate<? super T> predicate, T value, PredicateDescription description)Creates a new.ShouldNotAcceptstatic <T> ErrorMessageFactoryShouldNotBe. shouldNotBe(T actual, Condition<? super T> condition)Creates a new.ShouldNotBestatic ErrorMessageFactoryShouldBeAnnotation. shouldNotBeAnnotation(Class<?> actual)Creates a new.ShouldBeAnnotationstatic ErrorMessageFactoryShouldNotBeBetween. shouldNotBeBetween(Date actual, Date start, Date end, boolean inclusiveStart, boolean inclusiveEnd)Creates a new.ShouldNotBeBetweenstatic ErrorMessageFactoryShouldNotBeBetween. shouldNotBeBetween(Date actual, Date start, Date end, boolean inclusiveStart, boolean inclusiveEnd, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotBeBetweenstatic ErrorMessageFactoryShouldNotBeBlank. shouldNotBeBlank(CharSequence actual)Creates a new.ShouldNotBeBlankstatic ErrorMessageFactoryShouldNotBeEmpty. shouldNotBeEmpty()Returns the singleton instance of this class.static ErrorMessageFactoryShouldNotBeEqual. shouldNotBeEqual(Object actual, Object other)Creates a new.ShouldNotBeEqualstatic ErrorMessageFactoryShouldNotBeEqual. shouldNotBeEqual(Object actual, Object other, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotBeEqualstatic <T extends Number>
ErrorMessageFactoryShouldNotBeEqualWithinOffset. shouldNotBeEqual(T actual, T expected, Offset<T> offset, T difference)Creates a new.ShouldNotBeEqualWithinOffsetstatic ErrorMessageFactoryShouldNotBeEqualIgnoringCase. shouldNotBeEqualIgnoringCase(CharSequence actual, CharSequence expected)Creates a new.ShouldNotBeEqualIgnoringCasestatic ErrorMessageFactoryShouldNotBeEqualIgnoringWhitespace. shouldNotBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected)Creates a new.ShouldNotBeEqualIgnoringWhitespacestatic ErrorMessageFactoryShouldNotBeEqualNormalizingWhitespace. shouldNotBeEqualNormalizingWhitespace(CharSequence actual, CharSequence expected)Creates a new.ShouldNotBeEqualNormalizingWhitespacestatic <T extends Number>
ErrorMessageFactoryShouldNotBeEqualWithinPercentage. shouldNotBeEqualWithinPercentage(T actual, T expected, Percentage percentage, T difference)Creates a new.ShouldNotBeEqualWithinPercentagestatic ErrorMessageFactoryShouldNotBeExactlyInstanceOf. shouldNotBeExactlyInstance(Object actual, Class<?> type)Creates a new.ShouldNotBeExactlyInstanceOfstatic ErrorMessageFactoryClassModifierShouldBe. shouldNotBeFinal(Class<?> actual)Creates a newClassModifierShouldBe.static ErrorMessageFactoryShouldNotBeIn. shouldNotBeIn(Object actual, Object values)Creates a new.ShouldNotBeInstatic ErrorMessageFactoryShouldNotBeIn. shouldNotBeIn(Object actual, Object values, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotBeInstatic ErrorMessageFactoryShouldNotBeInstance. shouldNotBeInstance(Object actual, Class<?> type)Creates a new.ShouldNotBeInstancestatic ErrorMessageFactoryShouldNotBeInstanceOfAny. shouldNotBeInstanceOfAny(Object actual, Class<?>[] types)Creates a new.ShouldNotBeInstanceOfAnystatic ErrorMessageFactoryShouldBeInterface. shouldNotBeInterface(Class<?> actual)Creates a new.ShouldBeInterfacestatic ErrorMessageFactoryShouldBeMarked. shouldNotBeMarked(AtomicMarkableReference<?> actual)static ErrorMessageFactoryShouldNotBeNull. shouldNotBeNull()Returns the default instance of this class.static ErrorMessageFactoryShouldNotBeOfClassIn. shouldNotBeOfClassIn(Object actual, Object types)Creates a new.ShouldNotBeOfClassInstatic ErrorMessageFactoryShouldNotBeSame. shouldNotBeSame(Object actual)Creates a new.ShouldNotBeSamestatic ErrorMessageFactoryShouldNotContain. shouldNotContain(Object actual, Object expected, Object found)Creates a new.ShouldNotContainstatic ErrorMessageFactoryShouldNotContain. shouldNotContain(Object actual, Object expected, Object found, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotContainstatic ErrorMessageFactoryShouldNotContainCharSequence. shouldNotContain(CharSequence actual, CharSequence sequence)static ErrorMessageFactoryShouldNotContainCharSequence. shouldNotContain(CharSequence actual, CharSequence[] values, Set<? extends CharSequence> found, ComparisonStrategy comparisonStrategy)Creates a newShouldNotContainCharSequencestatic ErrorMessageFactoryShouldNotContainCharSequence. shouldNotContain(CharSequence actual, CharSequence sequence, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotContainCharSequencestatic ErrorMessageFactoryShouldNotContainAnyWhitespaces. shouldNotContainAnyWhitespaces(CharSequence actual)Creates a new.ShouldNotContainAnyWhitespacesstatic ErrorMessageFactoryShouldNotContainAtIndex. shouldNotContainAtIndex(Object actual, Object expected, Index index)Creates a new.ShouldNotContainAtIndexstatic ErrorMessageFactoryShouldNotContainAtIndex. shouldNotContainAtIndex(Object actual, Object expected, Index index, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotContainAtIndexstatic ErrorMessageFactoryShouldNotContainKey. shouldNotContainKey(Object actual, Object key)Creates a new.ShouldNotContainKeystatic <K> ErrorMessageFactoryShouldNotContainKeys. shouldNotContainKeys(Object actual, Set<K> keys)Creates a new.ShouldNotContainKeysstatic ErrorMessageFactoryShouldNotContainNull. shouldNotContainNull(Object actual)Creates a new.ShouldNotContainNullstatic ErrorMessageFactoryShouldNotContainOnlyWhitespaces. shouldNotContainOnlyWhitespaces(CharSequence actual)Creates a new.ShouldNotContainOnlyWhitespacesstatic ErrorMessageFactoryShouldNotContainPattern. shouldNotContainPattern(CharSequence actual, CharSequence pattern)Creates a new.ShouldNotContainPatternstatic ErrorMessageFactoryShouldNotContainSequence. shouldNotContainSequence(Object actual, Object sequence, int index)Creates a new.ShouldNotContainSequencestatic ErrorMessageFactoryShouldNotContainSequence. shouldNotContainSequence(Object actual, Object sequence, int index, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotContainSequencestatic ErrorMessageFactoryShouldNotContainSubsequence. shouldNotContainSubsequence(Object actual, Object subsequence, int index)Creates a new.ShouldNotContainSubsequencestatic ErrorMessageFactoryShouldNotContainSubsequence. shouldNotContainSubsequence(Object actual, Object subsequence, ComparisonStrategy comparisonStrategy, int index)Creates a new.ShouldNotContainSubsequencestatic ErrorMessageFactoryShouldNotContainValue. shouldNotContainValue(Object actual, Object value)Creates a new.ShouldNotContainValuestatic ErrorMessageFactoryShouldNotEndWith. shouldNotEndWith(Object actual, Object expected)Creates a new.ShouldNotEndWithstatic ErrorMessageFactoryShouldNotEndWith. shouldNotEndWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotEndWithstatic ErrorMessageFactoryShouldNotExist. shouldNotExist(File actual)Creates a new.ShouldNotExiststatic ErrorMessageFactoryShouldNotExist. shouldNotExist(Path actual)static <T> ErrorMessageFactoryShouldNotHave. shouldNotHave(T actual, Condition<? super T> condition)Creates a new.ShouldNotHavestatic ErrorMessageFactoryShouldNotHaveDuplicates. shouldNotHaveDuplicates(Object actual, Object duplicates)Creates a new.ShouldNotHaveDuplicatesstatic ErrorMessageFactoryShouldNotHaveDuplicates. shouldNotHaveDuplicates(Object actual, Object duplicates, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotHaveDuplicatesstatic ErrorMessageFactoryShouldHaveMethods. shouldNotHaveMethods(Class<?> actual, boolean declared, SortedSet<String> actualMethodsHavingModifier)static ErrorMessageFactoryShouldHaveMethods. shouldNotHaveMethods(Class<?> actual, String modifier, boolean declared, SortedSet<String> actualMethodsHavingModifier)static ErrorMessageFactoryShouldNotHaveSameClass. shouldNotHaveSameClass(Object actual, Object other)Creates a new.ShouldNotHaveSameClassstatic ErrorMessageFactoryShouldNotHaveThrown. shouldNotHaveThrown(Throwable throwable)static <T> ErrorMessageFactoryShouldNotMatch. shouldNotMatch(T actual, Predicate<? super T> predicate, PredicateDescription predicateDescription)Creates a new.ShouldNotMatchstatic ErrorMessageFactoryShouldNotMatchPattern. shouldNotMatch(CharSequence actual, CharSequence pattern)Creates a new.ShouldStartWithstatic ErrorMessageFactoryShouldNotStartWith. shouldNotStartWith(Object actual, Object expected)Creates a new.ShouldNotStartWithstatic ErrorMessageFactoryShouldNotStartWith. shouldNotStartWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy)Creates a new.ShouldNotStartWithstatic ErrorMessageFactoryShouldOnlyHaveFields. shouldOnlyHaveDeclaredFields(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected)Creates a new.ShouldOnlyHaveFieldsstatic ErrorMessageFactoryShouldOnlyHaveFields. shouldOnlyHaveFields(Class<?> actual, Collection<String> expected, Collection<String> notFound, Collection<String> notExpected)Creates a new.ShouldOnlyHaveFieldsstatic <T> ErrorMessageFactoryShouldSatisfy. shouldSatisfy(T actual, Condition<? super T> condition)static ErrorMessageFactoryShouldStartWith. shouldStartWith(Object actual, Object expected)Creates a new.ShouldStartWithstatic ErrorMessageFactoryShouldStartWith. shouldStartWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy)Creates a new.ShouldStartWithstatic ErrorMessageFactoryShouldStartWithPath. shouldStartWith(Path actual, Path other)static ErrorMessageFactoryZippedElementsShouldSatisfy. zippedElementsShouldSatisfy(AssertionInfo info, Iterable<?> actual, Iterable<?> other, List<ZippedElementsShouldSatisfy.ZipSatisfyError> zipSatisfyErrors) -
Uses of ErrorMessageFactory in org.assertj.core.error.future
Classes in org.assertj.core.error.future that implement ErrorMessageFactory Modifier and Type Class Description classShouldBeCancelledclassShouldBeCompletedclassShouldBeCompletedExceptionallyclassShouldBeDoneclassShouldHaveFailedclassShouldNotBeCancelledclassShouldNotBeCompletedclassShouldNotBeCompletedExceptionallyclassShouldNotBeDoneclassShouldNotHaveFailed -
Uses of ErrorMessageFactory in org.assertj.core.error.uri
Classes in org.assertj.core.error.uri that implement ErrorMessageFactory Modifier and Type Class Description classShouldHaveAnchorclassShouldHaveAuthorityclassShouldHaveFragmentclassShouldHaveHostclassShouldHaveParameterclassShouldHavePathclassShouldHavePortclassShouldHaveProtocolclassShouldHaveQueryclassShouldHaveSchemeclassShouldHaveUserInfoMethods in org.assertj.core.error.uri that return ErrorMessageFactory Modifier and Type Method Description static ErrorMessageFactoryShouldHaveAnchor. shouldHaveAnchor(URL actual, String expectedAnchor)static ErrorMessageFactoryShouldHaveAuthority. shouldHaveAuthority(URI actual, String expectedAuthority)static ErrorMessageFactoryShouldHaveAuthority. shouldHaveAuthority(URL actual, String expectedAuthority)static ErrorMessageFactoryShouldHaveFragment. shouldHaveFragment(URI actual, String expectedFragment)static ErrorMessageFactoryShouldHaveHost. shouldHaveHost(URI actual, String expectedHost)static ErrorMessageFactoryShouldHaveHost. shouldHaveHost(URL actual, String expectedHost)static ErrorMessageFactoryShouldHaveParameter. shouldHaveNoParameter(Object actual, String name, String unwantedValue, List<String> actualValues)static ErrorMessageFactoryShouldHaveParameter. shouldHaveNoParameter(Object actual, String name, List<String> actualValues)static ErrorMessageFactoryShouldHaveParameter. shouldHaveNoParameters(Object actual, Set<String> parameterNames)static ErrorMessageFactoryShouldHaveParameter. shouldHaveParameter(Object actual, String name)static ErrorMessageFactoryShouldHaveParameter. shouldHaveParameter(Object actual, String name, String expectedValue)static ErrorMessageFactoryShouldHaveParameter. shouldHaveParameter(Object actual, String name, String expectedValue, List<String> actualValues)static ErrorMessageFactoryShouldHavePath. shouldHavePath(URI actual, String expectedPath)static ErrorMessageFactoryShouldHavePath. shouldHavePath(URL actual, String expectedPath)static ErrorMessageFactoryShouldHavePort. shouldHavePort(URI actual, int expectedPort)static ErrorMessageFactoryShouldHavePort. shouldHavePort(URL actual, int expectedPort)static ErrorMessageFactoryShouldHaveProtocol. shouldHaveProtocol(URL actual, String expectedProtocol)static ErrorMessageFactoryShouldHaveQuery. shouldHaveQuery(URI actual, String expectedQuery)static ErrorMessageFactoryShouldHaveQuery. shouldHaveQuery(URL actual, String expectedQuery)static ErrorMessageFactoryShouldHaveScheme. shouldHaveScheme(URI actual, String expectedScheme)static ErrorMessageFactoryShouldHaveUserInfo. shouldHaveUserInfo(URI actual, String expectedUserInfo)static ErrorMessageFactoryShouldHaveUserInfo. shouldHaveUserInfo(URL actual, String expectedUserInfo) -
Uses of ErrorMessageFactory in org.assertj.core.internal
Methods in org.assertj.core.internal with parameters of type ErrorMessageFactory Modifier and Type Method Description protected StringFailures. assertionErrorMessage(AssertionInfo info, ErrorMessageFactory messageFactory)AssertionErrorFailures. failure(AssertionInfo info, ErrorMessageFactory messageFactory)Creates afollowing this pattern: creates aAssertionErrorusingAssertionErroras the error message if such value is notAssertionInfo.overridingErrorMessage()null, or uses the givento create the detail message of theErrorMessageFactory, prepending the value ofAssertionErrorto the error messageAssertionInfo.description()AssertionErrorFailures. failure(AssertionInfo info, ErrorMessageFactory messageFactory, Object actual, Object expected)
-