Interface | Description |
---|---|
AssertionErrorFactory |
Factory of
s. |
ErrorMessageFactory |
Factory of error messages.
|
Class | Description |
---|---|
AbstractShouldHaveTextContent |
Base class for text content error.
|
AnyElementShouldMatch | |
AssertionErrorCreator | |
AssertionErrorMessagesAggregrator | |
BasicErrorMessageFactory |
A factory of error messages typically shown when an assertion fails.
|
ClassModifierShouldBe |
Creates an error message indicating that an assertion that verifies that a class is (or is not) final.
|
ConditionAndGroupGenericParameterTypeShouldBeTheSame |
Creates an error message indicating that an assertion that verifies type of elements of group and
Condition A group of
elements can be a collection, an array. |
ConstructorInvoker |
Access to constructors using Java reflection.
|
DescriptionFormatter |
Formats the
s to be included in assertion errors. |
ElementsShouldBe |
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. |
ElementsShouldBeAtLeast |
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a
Condition A group of elements can be a collection, an array. |
ElementsShouldBeAtMost |
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a
Condition A group of elements can be a collection, an array. |
ElementsShouldBeExactly |
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a
Condition A group of elements can be a collection, an array. |
ElementsShouldHave |
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. |
ElementsShouldHaveAtLeast |
Creates an error message indicating that an assertion that verifies elements of a group satisfies at least n times a
Condition A group of elements can be a collection, an array. |
ElementsShouldHaveAtMost |
Creates an error message indicating that an assertion that verifies elements of a group satisfies at most n times a
Condition A group of elements can be a collection, an array. |
ElementsShouldHaveExactly |
Creates an error message indicating that an assertion that verifies elements of a group satisfies exactly n times a
Condition A group of elements can be a collection, an array. |
ElementsShouldMatch | |
ElementsShouldNotBe |
Creates an error message indicating that an assertion that not verifies that each element of a group satisfies a
Condition A group of elements can be a collection, an array. |
ElementsShouldNotHave |
Creates an error message indicating that an assertion that verifies that each element of a group satisfies a
Condition
A group of elements can be a collection, an array. |
ElementsShouldSatisfy | |
ElementsShouldSatisfy.UnsatisfiedRequirement | |
MessageFormatter |
Formats the messages to be included in assertion errors.
|
NoElementsShouldMatch | |
NoElementsShouldSatisfy | |
OptionalDoubleShouldHaveValueCloseToOffset |
Build error message when an
OptionalDouble should have a specific value close to an offset. |
OptionalDoubleShouldHaveValueCloseToPercentage |
Build error message when an
OptionalDouble should be close to an expected value within a positive
percentage. |
OptionalShouldBeEmpty |
Build error message when an
Optional should be empty. |
OptionalShouldBePresent |
Build error message when a value should be present in an
Optional . |
OptionalShouldContain |
Build error message when an
Optional , OptionalDouble , OptionalInt or OptionalLong
should contain a specific value. |
OptionalShouldContainInstanceOf |
Build an error message when a value should be instance of a specific class.
|
ShouldAccept |
Creates an error message indicating that an assertion that verifies that
accepts a value failed. |
ShouldBe |
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed. |
ShouldBeAbsolutePath | |
ShouldBeAbstract | |
ShouldBeAfter |
Creates an error message indicating that an assertion that verifies that a
Date is after another one failed. |
ShouldBeAfterOrEqualsTo |
Creates an error message indicating that an assertion that verifies that a
Date is after or equals to another
one
failed. |
ShouldBeAfterYear |
Creates an error message indicating that an assertion that verifies that a
Date is after given year failed. |
ShouldBeAnArray |
Creates an error message indicating that a group of elements should have been an array.
|
ShouldBeAnnotation |
Creates an error message indicating that an assertion that verifies that a class is (or not) an annotation.
|
ShouldBeAssignableFrom |
Creates an error message indicating that an assertion that verifies that a class is assignable from.
|
ShouldBeAtIndex |
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index that
satisfies a
failed. |
ShouldBeBefore |
Creates an error message indicating that an assertion that verifies that a
Object is before another one failed. |
ShouldBeBeforeOrEqualsTo |
Creates an error message indicating that an assertion that verifies that a
Object is before or equals to another one
failed. |
ShouldBeBeforeYear |
Creates an error message indicating that an assertion that verifies that a
Date is before given year failed. |
ShouldBeBetween |
Creates an error message indicating that an assertion that verifies that a
Date is between start - end dates (inclusive
or not) failed. |
ShouldBeBlank |
Creates an error message indicating that an assertion that verifies a
CharSequence is blank. |
ShouldBeCanonicalPath |
Creates an error message indicating that an assertion that verifies that a
Path is canonical has failed. |
ShouldBeCloseTo |
Creates an error message indicating that an assertion that verifies that a
Date is close to another one from some delta
failed. |
ShouldBeDirectory | |
ShouldBeEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is empty failed.
|
ShouldBeEqual |
Creates an
indicating that an assertion that verifies that two objects are equal
failed. |
ShouldBeEqualByComparingFieldByFieldRecursively | |
ShouldBeEqualByComparingOnlyGivenFields |
Creates an
indicating that an assertion that verifies that two objects are
lenient equal by accepting fields failed. |
ShouldBeEqualIgnoringCase |
Creates an error message indicating that an assertion that verifies that two
CharSequence s are equal, ignoring case
considerations, failed. |
ShouldBeEqualIgnoringHours |
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime have same year,
month, and day fields failed. |
ShouldBeEqualIgnoringMinutes |
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime have same year,
month, day and hour fields failed. |
ShouldBeEqualIgnoringNanos |
Creates an error message indicating that an assertion that verifies that :
two
ZonedDateTime , LocalDateTime have same year, month, day, hour, minute and second failed.
two LocalTime have same hour, minute and second failed.
two OffsetTime have same hour, minute and second failed.
|
ShouldBeEqualIgnoringNewLineDifferences | |
ShouldBeEqualIgnoringNewLines | |
ShouldBeEqualIgnoringSeconds |
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime have same year,
month, day, hour and minute failed. |
ShouldBeEqualIgnoringTimezone |
Creates an error message indicating that an assertion that verifies that two
OffsetTime have same
time fields except the timezone. |
ShouldBeEqualIgnoringWhitespace |
Creates an error message indicating that an assertion that verifies that two
CharSequence s are equal, ignoring whitespace
differences, failed. |
ShouldBeEqualNormalizingWhitespace |
Creates an error message indicating that an assertion that verifies that two
CharSequence s are equal,
after the whitespace of both strings has been normalized, failed. |
ShouldBeEqualToIgnoringFields |
Creates an
indicating that an assertion that verifies that two objects are lenient equal by
ignoring fields failed. |
ShouldBeEqualWithinOffset |
Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.
|
ShouldBeEqualWithinPercentage |
Creates an error message indicating that an assertion that
verifies that two numbers are equal within a positive percentage failed.
|
ShouldBeEqualWithTimePrecision |
Creates an
indicating that an assertion that verifies that two dates are equals
up to a given precision failed. |
ShouldBeExactlyInstanceOf |
Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some
type failed.
|
ShouldBeExecutable |
Creates an error message indicating that an assertion that verifies that a
is executable
failed. |
ShouldBeExhausted |
Creates an error message indicating that an assertion that verifies that an
Iterator has no more elements
failed. |
ShouldBeFile |
Creates an error message indicating that an assertion that verifies that a
is an existing file
failed. |
ShouldBeGreater |
Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.
|
ShouldBeGreaterOrEqual |
Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one
failed.
|
ShouldBeIn |
Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g.
|
ShouldBeInSameDay |
Creates an error message indicating that an assertion that verifies that a
Date is in same year, month and day of month
as another one failed. |
ShouldBeInSameHour |
Creates an error message indicating that an assertion that verifies that a
Date is in same year, month, day of month
and hour as another one failed. |
ShouldBeInSameHourWindow |
Creates an error message indicating that an assertion that verifies that a
Date is in same hour window as
another one failed. |
ShouldBeInSameMinute |
Creates an error message indicating that an assertion that verifies that a
Date is in same year, month, day of month,
hour and minute as another one failed. |
ShouldBeInSameMinuteWindow |
Creates an error message indicating that an assertion that verifies that a
Date is in minute window as
another one failed. |
ShouldBeInSameMonth |
Creates an error message indicating that an assertion that verifies that a
Date is in same year and month as another
one failed. |
ShouldBeInSameSecond |
Creates an error message indicating that an assertion that verifies that a
Date is in same year, month, day
of month, hour, minute and second as another one failed. |
ShouldBeInSameSecondWindow |
Creates an error message indicating that an assertion that verifies that a
Date is in second window as
another one failed. |
ShouldBeInSameYear |
Creates an error message indicating that an assertion that verifies that a
Date is in same year as another one failed. |
ShouldBeInstance |
Creates an error message indicating that an assertion that verifies that an object is an instance of some type
failed.
|
ShouldBeInstanceOfAny |
Creates an error message indicating that an assertion that verifies that an object is an instance of one or more
types failed.
|
ShouldBeInterface |
Creates an error message indicating that an assertion that verifies that a class is (or not) an interface.
|
ShouldBeInTheFuture |
Creates an error message indicating that an assertion that verifies that a
Date is in the future failed. |
ShouldBeInThePast |
Creates an error message indicating that an assertion that verifies that a
Date is in the past failed. |
ShouldBeLess |
Creates an error message indicating that an assertion that verifies that a value is less than another one failed.
|
ShouldBeLessOrEqual |
Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.
|
ShouldBeLowerCase |
Creates an error message that indicates an assertion that verifies that a character is lowercase failed.
|
ShouldBeMarked | |
ShouldBeNormalized |
Assertion error message delivered when a
Path is not normalized |
ShouldBeNullOrEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is
null or empty failed. |
ShouldBeOfClassIn |
Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.
|
ShouldBeReadable | |
ShouldBeRegularFile |
Creates an error message indicating that an assertion that verifies that a
Path is a regular file has failed. |
ShouldBeRelativePath | |
ShouldBeSame |
Creates an error message indicating that an assertion that verifies that two object refer to same object failed.
|
ShouldBeSorted |
Creates 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. |
ShouldBeSubsetOf |
Creates an error message indicating that an assertion that verifies that an
Iterable is a subset of an other set
Iterable failed. |
ShouldBeSubstring | |
ShouldBeSymbolicLink |
Creates an error message indicating that an assertion that verifies that a
Path is a regular file has failed. |
ShouldBeToday |
Creates an error message indicating that an assertion that verifies that a
Date is today (matching only year, month and
day but not hours). |
ShouldBeUpperCase |
Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
|
ShouldBeWritable |
Creates an error message indicating that an assertion that verifies that a
is writable
failed. |
ShouldContain |
Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.
|
ShouldContainAnyOf | |
ShouldContainAtIndex |
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index
failed.
|
ShouldContainCharSequence |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains another
CharSequence failed. |
ShouldContainCharSequenceOnlyOnce |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains another CharSequence only
once failed. |
ShouldContainEntry |
Creates an error message indicating that an assertion that verifies a map contains an entry..
|
ShouldContainExactly |
Creates 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.
|
ShouldContainExactlyInAnyOrder |
Creates an error message indicating that an assertion that verifies a group of elements contains exactly a given set
of values and nothing else failed.
|
ShouldContainKey |
Creates an error message indicating that an assertion that verifies a map contains a key..
|
ShouldContainKeys |
Creates an error message indicating that an assertion that verifies a map contains a key..
|
ShouldContainNull |
Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.
|
ShouldContainOneOrMoreWhitespaces |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains one or more
whitespaces. |
ShouldContainOnly |
Creates an error message indicating that an assertion that verifies a group of elements contains only a given set of
values and
nothing else failed.
|
ShouldContainOnlyDigits |
Creates an error message indicating that an assertion that verifies a CharSequence contains only digits failed.
|
ShouldContainOnlyKeys |
Creates an error message indicating that an assertion that verifies map contains only a given set of keys and
nothing else failed.
|
ShouldContainOnlyNulls |
Creates an error message indicating that an assertion that verifies a group of elements contains only null elements failed.
|
ShouldContainOnlyWhitespaces |
Creates an error message indicating that an assertion that verifies a
CharSequence contains only whitespaces. |
ShouldContainPattern |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains a pattern failed. |
ShouldContainSequence |
Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values
failed.
|
ShouldContainSequenceOfCharSequence |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains a Sequence of
several CharSequence s in order failed. |
ShouldContainsOnlyOnce |
Creates an error message indicating that an assertion that verifies a group of elements contains only a given set of
values and nothing else failed.
|
ShouldContainSubsequence |
Creates an error message indicating that an assertion that verifies that a group of elements contains a subsequence
of values failed.
|
ShouldContainSubsequenceOfCharSequence |
Creates an error message indicating that an assertion that verifies that a
CharSequence contains a Subsequence of
several CharSequence s in order failed. |
ShouldContainValue |
Creates an error message indicating that an assertion that verifies a map contains a value.
|
ShouldContainValues |
Creates an error message indicating that an assertion that verifies a map contains a values.
|
ShouldEndWith |
Creates an error message indicating that an assertion that verifies that a group of elements ends with a given value or
sequence of values failed.
|
ShouldEndWithPath | |
ShouldExist | |
ShouldHave |
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed. |
ShouldHaveAllNullFields |
Creates an
indicating that an assertion that verifies that an object
has null fields failed. |
ShouldHaveAnnotations |
Creates an error message indicating that an assertion that verifies that a class have an annotation.
|
ShouldHaveAtIndex |
Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given
index that satisfies a
failed. |
ShouldHaveAtLeastOneElementOfType |
Creates an error message indicating that a group does not have an element of the given type.
|
ShouldHaveBinaryContent |
Creates an error message indicating that an assertion that verifies that a file/path has a given binary content failed.
|
ShouldHaveCause | |
ShouldHaveCauseExactlyInstance |
Creates an error message indicating that an assertion that verifies that a
Throwable have a cause
exactly instance of a certain type. |
ShouldHaveCauseInstance |
Creates an error message indicating that an assertion that verifies that a
Throwable have a cause instance of
a certain type. |
ShouldHaveContent |
Creates an error message indicating that an assertion that verifies that a file/path has a given text content failed.
|
ShouldHaveDateField |
Creates an error message indicating that an assertion that verifies that a
Date has a year, month, day, ... |
ShouldHaveDigest |
Creates an error message indicating that an assertion that verifies that file/inputStream/path have digest failed.
|
ShouldHaveExtension |
Creates an error message indicating that a
File should have extension. |
ShouldHaveFields |
Creates an error message indicating that an assertion that verifies that a class have field.
|
ShouldHaveLineCount |
Creates an error message indicating that an assertion that verifies that a value have certain number of lines failed.
|
ShouldHaveMessage |
Creates an error message indicating that an assertion that verifies that a
Throwable have certain message failed. |
ShouldHaveMessageFindingMatchRegex |
Creates an error message indicating that an assertion that verifies that a
CharSequence matches given regular
expression. |
ShouldHaveMessageMatchingRegex |
Creates an error message indicating that an assertion that verifies that a
CharSequence matches given regular
expression. |
ShouldHaveMethods |
Creates an error message indicating that an assertion that verifies that a class have methods.
|
ShouldHaveName |
Creates an error message indicating that a
File should have name. |
ShouldHaveNext |
Creates an error message indicating that an assertion that verifies that an
Iterator has a next element
failed. |
ShouldHaveNoCause |
Creates an error message indicating that an assertion that verifies that an
Throwable has no cause failed. |
ShouldHaveNoFields | |
ShouldHaveNoNullFields |
Creates an
indicating that an assertion that verifies that an object
has no null fields failed. |
ShouldHaveNoParent |
Creates an error message when a
File should not have a parent. |
ShouldHaveNoSuppressedExceptions |
Creates an error message indicating that an assertion that verifies that a
Throwable has no suppressed exceptions failed. |
ShouldHaveOnlyElementsOfType |
Creates an error message indicating that a group does not have an element of the given type.
|
ShouldHaveParent |
Creates an error message indicating that a
File should have a parent. |
ShouldHavePropertyOrField |
Creates an error message indicating that an assertion that verifies that a class has a given field/property.
|
ShouldHavePropertyOrFieldWithValue |
Creates an error message indicating that an assertion that verifies that a class has a field/property with a value.
|
ShouldHaveReference | |
ShouldHaveRootCause | |
ShouldHaveRootCauseExactlyInstance |
Creates an error message indicating that an assertion that verifies that a
Throwable have a root cause
exactly instance of a certain type. |
ShouldHaveRootCauseInstance |
Creates an error message indicating that an assertion that verifies that a
Throwable have a root cause
instance of a certain type. |
ShouldHaveSameClass |
Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.
|
ShouldHaveSameContent |
Creates an error message indicating that an assertion that verifies that two files/inputStreams/paths have same content failed.
|
ShouldHaveSameHashCode | |
ShouldHaveSameHourAs |
Creates an error message indicating that an assertion that verifies that two
ZonedDateTime have same year,
month, day and hour fields failed. |
ShouldHaveSameSizeAs |
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
|
ShouldHaveSameTime |
Creates an error message indicating that an assertion that verifies that a date has same time as other date.
|
ShouldHaveSize |
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
|
ShouldHaveSizeBetween |
Creates an error message indicating that an assertion - that verifies that size of a value is
between two given values - failed.
|
ShouldHaveSizeGreaterThan |
Creates an error message indicating that an assertion that verifies a minimum size failed.
|
ShouldHaveSizeGreaterThanOrEqualTo |
Creates an error message indicating that an assertion that verifies a minimum size failed.
|
ShouldHaveSizeLessThan |
Creates an error message indicating that an assertion that verifies a maximum size failed.
|
ShouldHaveSizeLessThanOrEqualTo |
Creates an error message indicating that an assertion that verifies a maximum size failed.
|
ShouldHaveStamp | |
ShouldHaveSuppressedException |
Creates an error message indicating that an assertion that verifies that a
Throwable has a given suppressed exception failed. |
ShouldHaveTime |
Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.
|
ShouldHaveToString | |
ShouldHaveValue | |
ShouldMatch |
Creates an error message indicating that an assertion that verifies that a value satisfies a
failed. |
ShouldMatchPattern |
Creates an error message indicating that an assertion that verifies that a
CharSequence matches a pattern failed. |
ShouldNotAccept |
Creates an error message indicating that an assertion that verifies that
not accepting a value failed. |
ShouldNotBe |
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed. |
ShouldNotBeBetween |
Creates an error message indicating that an assertion that verifies that a
Date is not between start - end dates
(inclusive or not) failed. |
ShouldNotBeBlank |
Creates an error message indicating that an assertion that verifies
CharSequence
is not blank. |
ShouldNotBeEmpty |
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.
|
ShouldNotBeEqual |
Creates an error message indicating that an assertion that verifies that two objects are not equal failed.
|
ShouldNotBeEqualIgnoringCase |
Creates an error message indicating that an assertion that verifies that two
CharSequence s are not equal,
ignoring case
considerations, failed. |
ShouldNotBeEqualIgnoringWhitespace |
Creates an error message indicating that an assertion that verifies that two
CharSequence s are not equal,
ignoring whitespace differences, failed. |
ShouldNotBeEqualNormalizingWhitespace |
Creates an error message indicating that an assertion that verifies that two
CharSequence s are not equal,
after the whitespace of both strings has been normalized, failed. |
ShouldNotBeEqualWithinOffset |
Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive offset failed.
|
ShouldNotBeEqualWithinPercentage |
Creates an error message indicating that an assertion that
verifies that two numbers are not equal within a positive percentage failed.
|
ShouldNotBeExactlyInstanceOf |
Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type
failed.
|
ShouldNotBeIn |
Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g.
|
ShouldNotBeInstance |
Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.
|
ShouldNotBeInstanceOfAny |
Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types
failed.
|
ShouldNotBeNull |
Creates an error message that indicates an assertion that verifies that an object is not
null failed. |
ShouldNotBeOfClassIn |
Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.
|
ShouldNotBeSame |
Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
|
ShouldNotContain |
Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values
failed.
|
ShouldNotContainAnyWhitespaces |
Creates an error message indicating that an assertion that verifies that a
CharSequence
does not contain whitespace characters. |
ShouldNotContainAtIndex |
Creates an error message indicating that an assertion that verifies a group of elements does not contain a value at a given
index failed.
|
ShouldNotContainCharSequence |
Creates an error message indicating that an assertion that verifies that a
CharSequence does not contain another
CharSequence failed. |
ShouldNotContainKey |
Creates an error message indicating that an assertion that verifies a map does not contains a key failed.
|
ShouldNotContainKeys |
Creates an error message indicating that an assertion that verifies a map does not contain keys.
|
ShouldNotContainNull |
Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.
|
ShouldNotContainOnlyWhitespaces |
Creates an error message indicating that an assertion that verifies
CharSequence
is not blank. |
ShouldNotContainPattern |
Creates an error message indicating that an assertion that verifies that a
CharSequence does not contain
a regular expression failed. |
ShouldNotContainSequence |
Creates an error message indicating that an assertion that verifies that a group of elements does not contain a
sequence of values failed.
|
ShouldNotContainSubsequence |
Creates an error message indicating that an assertion that verifies that a group of elements does not contains a
subsequence of values failed.
|
ShouldNotContainValue |
Creates an error message indicating that an assertion that verifies a map does not contains a value.
|
ShouldNotEndWith |
Creates 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.
|
ShouldNotExist | |
ShouldNotHave |
Creates an error message indicating that an assertion that verifies that a value does not satisfy a
failed. |
ShouldNotHaveAnyElementsOfTypes | |
ShouldNotHaveDuplicates |
Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.
|
ShouldNotHaveSameClass |
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.
|
ShouldNotHaveThrown | |
ShouldNotMatch |
Creates an error message indicating that an assertion that verifies that a value not satisfying a
failed. |
ShouldNotMatchPattern |
Creates an error message indicating that an assertion that verifies that a
CharSequence does not match a pattern failed. |
ShouldNotStartWith |
Creates 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.
|
ShouldOnlyHaveElementsOfTypes |
Creates 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.
|
ShouldOnlyHaveFields |
Creates an error message indicating that an assertion that verifies that a class has only the fields.
|
ShouldSatisfy | |
ShouldStartWith |
Creates an error message indicating that an assertion that verifies that a group of elements starts with a given value or
sequence of values failed.
|
ShouldStartWithPath | |
ZippedElementsShouldSatisfy | |
ZippedElementsShouldSatisfy.ZipSatisfyError |
Enum | Description |
---|---|
ShouldContainExactlyInAnyOrder.ErrorType | |
ShouldContainOnly.ErrorType | |
ShouldContainOnlyNulls.ErrorType |
Error | Description |
---|---|
MultipleAssertionsError |
Copyright © 2014–2019 AssertJ. All rights reserved.