Top Interfaces Classes
[default module]

Package org.assertj.core.error


Interface Summary

Modifier and TypeInterface and Description
public interface
AssertionErrorFactory

Deprecated don't use it or favor AssertionErrorCreator instead.
Factory of AssertionErrors.
public interface
ErrorMessageFactory

Factory of error messages.

Class Summary

Modifier and TypeClass and Description
public class
AbstractShouldHaveTextContent

Base class for text content error.

public class
public class
public class
public class
public class
public class
AssertJMultipleFailuresError

AssertJ version of MultipleFailuresError to get more control on the error formatting.

public class
BasicErrorMessageFactory

A factory of error messages typically shown when an assertion fails.

public class
ClassModifierShouldBe

Error message factory for an assertion which checks that a class has (or has not) a specific modifier.

public class
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.

public class
ConstructorInvoker

Access to constructors using Java reflection.

public class
DescriptionFormatter

Formats the Descriptions to be included in assertion errors.

public class
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.

public class
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.

public class
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.

public class
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.

public class
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.

public class
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.

public class
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.

public class
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.

public class
public class
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.

public class
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.

public class
public class
GroupTypeDescription

Generates a description for the type of a group of elements.

public class
MatcherShouldMatch

Build error message when an java.util.regex.Matcher should match.

public class
MessageFormatter

Formats the messages to be included in assertion errors.

public class
public class
public class
public class
OptionalDoubleShouldHaveValueCloseToOffset

Build error message when an java.util.OptionalDouble should have a specific value close to an offset.

public class
OptionalDoubleShouldHaveValueCloseToPercentage

Build error message when an java.util.OptionalDouble should be close to an expected value within a positive percentage.

public class
OptionalShouldBeEmpty

Build error message when an java.util.Optional should be empty.

public class
OptionalShouldBePresent

Build error message when a value should be present in an java.util.Optional.

public class
OptionalShouldContain

Build error message when an Optional, OptionalDouble, OptionalInt or OptionalLong should contain a specific value.

public class
OptionalShouldContainInstanceOf

Build an error message when a value should be instance of a specific class.

public class
ShouldAccept

Creates an error message indicating that an assertion that verifies that Predicate accepts a value failed.

public class
ShouldBe

Creates an error message indicating that an assertion that verifies that a value satisfies a Condition failed.

public class
ShouldBeAbsolutePath

Creates an error message indicating that an assertion that verifies that a File or Path is an absolute path failed.

public class
public class
ShouldBeAfter

Creates an error message indicating that an assertion that verifies that a Date is after another one failed.

public class
ShouldBeAfterOrEqualTo

Creates an error message indicating that an assertion that verifies that an Object is after or equal to another one failed.

public class
ShouldBeAfterYear

Creates an error message indicating that an assertion that verifies that a Date is after given year failed.

public class
public class
public class
ShouldBeAnArray

Creates an error message indicating that a group of elements should have been an array.

public class
ShouldBeAnnotation

Creates an error message indicating that an assertion that verifies that a class is (or not) an annotation.

public class
public class
ShouldBeAssignableFrom

Creates an error message indicating that an assertion that verifies that a class is assignable from.

public class
ShouldBeAssignableTo

Creates an error message indicating that an assertion that verifies that a class is assignable to.

public class
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 Condition failed.

public class
ShouldBeAtSameInstant

Creates an error message indicating that an assertion that verifies that two OffsetDateTimes have the same java.time.Instant, failed.

public class
ShouldBeBase64

Creates an error message that indicates an assertion that verifies that a string is a valid Base64 encoded string failed.

public class
ShouldBeBefore

Creates an error message indicating that an assertion that verifies that a Object is before another one failed.

public class
ShouldBeBeforeOrEqualTo

Creates an error message indicating that an assertion that verifies that an Object is before or equal to another one failed.

public class
ShouldBeBeforeYear

Creates an error message indicating that an assertion that verifies that a Date is before given year failed.

public class
ShouldBeBetween

Creates an error message indicating that an assertion that verifies that a value is between a start and an end (inclusive or not) failed.

public class
ShouldBeBlank

Creates an error message indicating that an assertion that verifies a CharSequence is blank.

public class
ShouldBeCanonicalPath

Creates an error message indicating that an assertion that verifies that a Path is canonical has failed.

public class
ShouldBeCloseTo

Creates an error message indicating that an assertion that verifies that a Date is close to another one from some delta failed.

public class
ShouldBeCurrentYearMonth

Creates an error message indicating that an assertion that verifies that a java.time.YearMonth is the current one (matching year and month).

public class
ShouldBeDirectory

Creates an error message indicating that an assertion that verifies that a File or Path is an existing directory failed

public class
ShouldBeEmpty

Creates an error message indicating that an assertion that verifies a group of elements is empty failed.

public class
public class
ShouldBeEqual

Deprecated as a consequence of AssertionErrorFactory being deprecated.
Creates an AssertionError indicating that an assertion that verifies that two objects are equal failed.
public class
public class
ShouldBeEqualByComparingOnlyGivenFields

Creates an AssertionError indicating that an assertion that verifies that two objects are lenient equal by accepting fields failed.

public class
ShouldBeEqualIgnoringCase

Creates an error message indicating that an assertion that verifies that two CharSequences are equal, ignoring case considerations, failed.

public class
ShouldBeEqualIgnoringHours

Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, and day fields failed.

public class
ShouldBeEqualIgnoringMinutes

Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, day and hour fields failed.

public class
ShouldBeEqualIgnoringNanos

Creates an error message indicating that an assertion that verifies that :

public class
public class
public class
ShouldBeEqualIgnoringSeconds

Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, day, hour and minute failed.

public class
ShouldBeEqualIgnoringTimezone

Creates an error message indicating that an assertion that verifies that two java.time.OffsetTime have same time fields except the timezone.

public class
ShouldBeEqualIgnoringWhitespace

Creates an error message indicating that an assertion that verifies that two CharSequences are equal, ignoring whitespace differences, failed.

public class
ShouldBeEqualNormalizingPunctuationAndWhitespace

Creates an error message indicating that an assertion that verifies that two CharSequences are equal, after the punctuation of both strings have been normalized, failed.

public class
ShouldBeEqualNormalizingUnicode

Creates an error message indicating that an assertion that verifies that two CharSequences are equal, on their canonical form relying on java.text.Normalizer, failed.

public class
ShouldBeEqualNormalizingWhitespace

Creates an error message indicating that an assertion that verifies that two CharSequences are equal, after the whitespace of both strings has been normalized, failed.

public class
ShouldBeEqualToIgnoringFields

Creates an AssertionError indicating that an assertion that verifies that two objects are lenient equal by ignoring fields failed.

public class
ShouldBeEqualWithinOffset

Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive offset failed.

public class
ShouldBeEqualWithinPercentage

Creates an error message indicating that an assertion that verifies that two numbers are equal within a positive percentage failed.

public class
ShouldBeEqualWithTimePrecision

Creates an AssertionError indicating that an assertion that verifies that two dates are equals up to a given precision failed.

public class
ShouldBeEven

Creates an error message that indicates an assertion that verifies that a whole number is even failed.

public class
ShouldBeExactlyInstanceOf

Creates an error message indicating that an assertion that verifies that an object is exactly an instance of some type failed.

public class
ShouldBeExecutable

Creates an error message indicating that an assertion that verifies that a File is executable failed.

public class
ShouldBeExhausted

Creates an error message indicating that an assertion that verifies that an Iterator has no more elements failed.

public class
public class
ShouldBeFile

Creates an error message indicating that an assertion that verifies that a File is an existing file failed.

public class
public class
ShouldBeGreater

Creates an error message indicating that an assertion that verifies that a value is greater than another one failed.

public class
ShouldBeGreaterOrEqual

Creates an error message indicating that an assertion that verifies that a value is greater than or equal to another one failed.

public class
public class
ShouldBeIn

Creates an error message indicating that an assertion that verifies that a value is in a group of values (e.g. an array or collection) failed.

public class
public class
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.

public class
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.

public class
ShouldBeInSameHourWindow

Creates an error message indicating that an assertion that verifies that a Date is in same hour window as another one failed.

public class
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.

public class
ShouldBeInSameMinuteWindow

Creates an error message indicating that an assertion that verifies that a Date is in minute window as another one failed.

public class
ShouldBeInSameMonth

Creates an error message indicating that an assertion that verifies that a Date is in same year and month as another one failed.

public class
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.

public class
ShouldBeInSameSecondWindow

Creates an error message indicating that an assertion that verifies that a Date is in second window as another one failed.

public class
ShouldBeInSameYear

Creates an error message indicating that an assertion that verifies that a Date is in same year as another one failed.

public class
ShouldBeInstance

Creates an error message indicating that an assertion that verifies that an object is an instance of some type failed.

public class
ShouldBeInstanceOfAny

Creates an error message indicating that an assertion that verifies that an object is an instance of one or more types failed.

public class
ShouldBeInterface

Creates an error message indicating that an assertion that verifies that a class is (or not) an interface.

public class
ShouldBeInTheFuture

Creates an error message indicating that an assertion that verifies that a Date or a Temporal is in the future failed.

public class
ShouldBeInThePast

Creates an error message indicating that an assertion that verifies that a Date or a Temporal is in the past failed.

public class
ShouldBeLess

Creates an error message indicating that an assertion that verifies that a value is less than another one failed.

public class
ShouldBeLessOrEqual

Creates an error message indicating that an assertion that verifies that a value is less than or equal to another one failed.

public class
ShouldBeLowerCase

Creates an error message that indicates an assertion that verifies that a character is lowercase failed.

public class
public class
ShouldBeMixedCase

Creates an error message that indicates an assertion that verifies that a CharSequence is mixed case failed.

public class
ShouldBeNormalized

Assertion error message delivered when a Path is not normalized

public class
ShouldBeNullOrEmpty

Creates an error message indicating that an assertion that verifies a group of elements is null or empty failed.

public class
ShouldBeNumeric

Creates an error message that indicates an assertion that cast string to a number (byte, short, integer, long, float or double) failed.

public class
ShouldBeOdd

Creates an error message that indicates an assertion that verifies that a whole number is odd failed.

public class
ShouldBeOfClassIn

Creates an error message indicating that an assertion that verifies that an object is of type in group of types failed.

public class
public class
ShouldBePrimitive

Creates an error message indicating that an assertion that verifies that a class is (or not) a primitive data type, i.e, byte, short, int, long, float, double, char and boolean.

public class
public class
ShouldBeReadable

Creates an error message indicating that an assertion that verifies that a File or a a Path is readable failed.

public class
ShouldBeRecord

Creates an error message indicating that an assertion that verifies that a class is (or not) a record.

public class
ShouldBeRegularFile

Creates an error message indicating that an assertion that verifies that a Path is a regular file has failed.

public class
ShouldBeRelativePath

Creates an error message indicating that an assertion that verifies that a File or a Path is a relative path failed.

public class
ShouldBeSame

Creates an error message indicating that an assertion that verifies that two object refer to same object failed.

public class
ShouldBeSealed

Creates an error message indicating that an assertion that verifies that a class is (or not) sealed.

public class
ShouldBeSorted

Creates an error message indicating that an assertion that verifies a group of elements is sorted failed.

public class
ShouldBeSubsetOf

Creates an error message indicating that an assertion that verifies that an Iterable is a subset of an other set Iterable failed.

public class
public class
ShouldBeSymbolicLink

Creates an error message indicating that an assertion that verifies that a Path is a regular file has failed.

public class
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).

public class
public class
public class
ShouldBeUpperCase

Creates an error message that indicates an assertion that verifies that a character is uppercase failed.

public class
public class
ShouldBeWritable

Creates an error message indicating that an assertion that verifies that a File is writable failed.

public class
ShouldContain

Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed.

public class
public class
ShouldContainAtIndex

Creates an error message indicating that an assertion that verifies a group of elements contains a value at a given index failed.

public class
ShouldContainCharSequence

Creates an error message indicating that an assertion that verifies that a CharSequence contains another CharSequence failed.

public class
ShouldContainCharSequenceOnlyOnce

Creates an error message indicating that an assertion that verifies that a CharSequence contains another CharSequence only once failed.

public class
public class
ShouldContainEntry

Creates an error message indicating that an assertion that verifies a map contains an entry..

public class
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.

public class
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.

public class
ShouldContainKey

Creates an error message indicating that an assertion that verifies a map contains a key..

public class
ShouldContainKeys

Creates an error message indicating that an assertion that verifies a map contains a key..

public class
ShouldContainNull

Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed.

public class
ShouldContainOneOrMoreWhitespaces

Creates an error message indicating that an assertion that verifies that a CharSequence contains one or more whitespaces.

public class
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.

public class
ShouldContainOnlyDigits

Creates an error message indicating that an assertion that verifies a CharSequence contains only digits failed.

public class
ShouldContainOnlyKeys

Creates an error message indicating that an assertion that verifies map contains only a given set of keys and nothing else failed.

public class
ShouldContainOnlyNulls

Creates an error message indicating that an assertion that verifies a group of elements contains only null elements failed.

public class
ShouldContainOnlyWhitespaces

Creates an error message indicating that an assertion that verifies a CharSequence contains only whitespaces.

public class
ShouldContainPattern

Creates an error message indicating that an assertion that verifies that a CharSequence contains a pattern failed.

public class
ShouldContainRecursively

Creates an error message indicating that an assertion that verifies a group of elements contains recursively a given set of values failed.

public class
ShouldContainSequence

Creates an error message indicating that an assertion that verifies that a group of elements contains a sequence of values failed.

public class
ShouldContainSequenceOfCharSequence

Creates an error message indicating that an assertion that verifies that a CharSequence contains a Sequence of several CharSequences in order failed.

public class
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.

public class
ShouldContainSubsequence

Creates an error message indicating that an assertion that verifies that a group of elements contains a subsequence of values failed.

public class
ShouldContainSubsequenceOfCharSequence

Creates an error message indicating that an assertion that verifies that a CharSequence contains a Subsequence of several CharSequences in order failed.

public class
ShouldContainValue

Creates an error message indicating that an assertion that verifies a map contains a value.

public class
ShouldContainValues

Creates an error message indicating that an assertion that verifies a map contains a values.

public class
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.

public class
ShouldEndWithIgnoringCase

Creates an error message indicating that an assertion that verifies that CharSequence ends with a given value (ignoring case considerations) failed.

public class
public class
ShouldExist

Creates an error message indicating that an assertion that verifies that a File or Path exists failed.

public class
ShouldHave

Creates an error message indicating that an assertion that verifies that a value satisfies a Condition failed.

public class
ShouldHaveAllNullFields

Creates an AssertionError indicating that an assertion that verifies that an object has null fields failed.

public class
ShouldHaveAnnotations

Creates an error message indicating that an assertion that verifies that a class has annotations failed.

public class
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 Condition failed.

public class
ShouldHaveAtLeastOneElementOfType

Creates an error message indicating that a group does not have an element of the given type.

public class
ShouldHaveBinaryContent

Creates an error message indicating that an assertion that verifies that a file/path has a given binary content failed.

public class
public class
ShouldHaveCauseExactlyInstance

Creates an error message indicating that an assertion that verifies that a Throwable have a cause exactly instance of a certain type.

public class
ShouldHaveCauseInstance

Creates an error message indicating that an assertion that verifies that a Throwable have a cause instance of a certain type.

public class
public class
ShouldHaveContent

Creates an error message indicating that an assertion that verifies that a file/path has a given text content failed.

public class
ShouldHaveDateField

Creates an error message indicating that an assertion that verifies that a Date has a year, month, day, ...

public class
ShouldHaveDigest

Creates an error message indicating that an assertion that verifies that file/inputStream/path have digest failed.

public class
public class
public class
public class
ShouldHaveExtension

Creates an error message indicating that a File or a Path should have extension.

public class
ShouldHaveFields

Creates an error message indicating that an assertion that verifies that a class have field.

public class
ShouldHaveFileSystem

Creates an error message indicating that an assertion that verifies the FileSystem for a given path does not match a given file system.

public class
ShouldHaveLineCount

Creates an error message indicating that an assertion that verifies that a value have certain number of lines failed.

public class
ShouldHaveMessage

Creates an error message indicating that an assertion that verifies that a Throwable have certain message failed.

public class
ShouldHaveMessageFindingMatchRegex

Creates an error message indicating that an assertion that verifies that a CharSequence matches given regular expression.

public class
ShouldHaveMessageMatchingRegex

Creates an error message indicating that an assertion that verifies that a CharSequence matches given regular expression.

public class
ShouldHaveMethods

Creates an error message indicating that an assertion that verifies that a class have methods.

public class
ShouldHaveName

Creates an error message indicating that a File should have name.

public class
ShouldHaveNext

Creates an error message indicating that an assertion that verifies that an Iterator has a next element failed.

public class
ShouldHaveNoCause

Creates an error message indicating that an assertion that verifies that an Throwable has no cause failed.

public class
ShouldHaveNoExtension

Creates an error message indicating that a Path should have no extension.

public class
public class
ShouldHaveNoNullFields

Creates an AssertionError indicating that an assertion that verifies that an object has no null fields failed.

public class
ShouldHaveNoPackage

Creates an error message indicating that an assertion that verifies that a class has no package failed.

public class
ShouldHaveNoParent

Creates an error message when a File should not have a parent.

public class
ShouldHaveNoSuperclass

Creates an error message indicating that an assertion that verifies that a class has no superclass failed.

public class
ShouldHaveNoSuppressedExceptions

Creates an error message indicating that an assertion that verifies that a Throwable has no suppressed exceptions failed.

public class
ShouldHaveOnlyElementsOfType

Creates an error message indicating that a group does not have an element of the given type.

public class
ShouldHavePackage

Creates an error message indicating that a Class should have a given package.

public class
ShouldHaveParent

Creates an error message indicating that a File should have a parent.

public class
public class
public class
ShouldHavePropertyOrField

Creates an error message indicating that an assertion that verifies that a class has a given field/property.

public class
ShouldHavePropertyOrFieldWithValue

Creates an error message indicating that an assertion that verifies that a class has a field/property with a value.

public class
ShouldHaveRecordComponents

Creates an error message indicating that an assertion that verifies that a class has record components failed.

public class
public class
public class
ShouldHaveRootCauseExactlyInstance

Creates an error message indicating that an assertion that verifies that a Throwable have a root cause exactly instance of a certain type.

public class
ShouldHaveRootCauseInstance

Creates an error message indicating that an assertion that verifies that a Throwable have a root cause instance of a certain type.

public class
ShouldHaveSameClass

Creates an error message indicating that an assertion that verifies that an object have same class as another instance failed.

public class
ShouldHaveSameContent

Creates an error message indicating that an assertion that verifies that two files/inputStreams/paths have same content failed.

public class
public class
ShouldHaveSameFileSystemAs

Creates an error message indicating that an assertion that verifies the FileSystem for a given path does not match a given path's file system.

public class
public class
ShouldHaveSameHourAs

Creates an error message indicating that an assertion that verifies that two ZonedDateTime have same year, month, day and hour fields failed.

public class
ShouldHaveSameSizeAs

Creates an error message indicating that an assertion that verifies that a value have certain size failed.

public class
ShouldHaveSameTime

Creates an error message indicating that an assertion that verifies that a date has same time as other date.

public class
public class
ShouldHaveSize

Creates an error message indicating that an assertion that verifies that a value have certain size failed.

public class
ShouldHaveSizeBetween

Creates an error message indicating that an assertion - that verifies that size of a value is between two given values - failed.

public class
ShouldHaveSizeGreaterThan

Creates an error message indicating that an assertion that verifies a minimum size failed.

public class
ShouldHaveSizeGreaterThanOrEqualTo

Creates an error message indicating that an assertion that verifies a minimum size failed.

public class
ShouldHaveSizeLessThan

Creates an error message indicating that an assertion that verifies a maximum size failed.

public class
ShouldHaveSizeLessThanOrEqualTo

Creates an error message indicating that an assertion that verifies a maximum size failed.

public class
public class
ShouldHaveSuperclass

Creates an error message indicating that an assertion that verifies that a class has a given superclass failed.

public class
ShouldHaveSuppressedException

Creates an error message indicating that an assertion that verifies that a Throwable has a given suppressed exception failed.

public class
ShouldHaveTime

Creates an error message indicating that an assertion that verifies that a date have a certain timestamp.

public class
public class
public class
ShouldMatch

Creates an error message indicating that an assertion that verifies that a value satisfies a Predicate failed.

public class
ShouldMatchPattern

Creates an error message indicating that an assertion that verifies that a CharSequence matches a pattern failed.

public class
ShouldNotAccept

Creates an error message indicating that an assertion that verifies that Predicate not accepting a value failed.

public class
ShouldNotBe

Creates an error message indicating that an assertion that verifies that a value does not satisfy a Condition failed.

public class
ShouldNotBeBetween

Creates an error message indicating that an assertion that verifies that a Date is not between start - end dates (inclusive or not) failed.

public class
ShouldNotBeBlank

Creates an error message indicating that an assertion that verifies CharSequence is not blank.

public class
ShouldNotBeEmpty

Creates an error message indicating that an assertion that verifies a group of elements is not empty failed.

public class
ShouldNotBeEqual

Creates an error message indicating that an assertion that verifies that two objects are not equal failed.

public class
public class
ShouldNotBeEqualIgnoringCase

Creates an error message indicating that an assertion that verifies that two CharSequences are not equal, ignoring case considerations, failed.

public class
ShouldNotBeEqualIgnoringWhitespace

Creates an error message indicating that an assertion that verifies that two CharSequences are not equal, ignoring whitespace differences, failed.

public class
ShouldNotBeEqualNormalizingWhitespace

Creates an error message indicating that an assertion that verifies that two CharSequences are not equal, after the whitespace of both strings has been normalized, failed.

public class
ShouldNotBeEqualWithinOffset

Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive offset failed.

public class
ShouldNotBeEqualWithinPercentage

Creates an error message indicating that an assertion that verifies that two numbers are not equal within a positive percentage failed.

public class
ShouldNotBeExactlyInstanceOf

Creates an error message indicating that an assertion that verifies that an object is not exactly an instance of some type failed.

public class
public class
ShouldNotBeIn

Creates an error message indicating that an assertion that verifies that a value is not in a group of values (e.g. an array or collection) failed.

public class
public class
ShouldNotBeInstance

Creates an error message indicating that an assertion that verifies that an object is not an instance of some type failed.

public class
ShouldNotBeInstanceOfAny

Creates an error message indicating that an assertion that verifies that an object is not an instance of one or more types failed.

public class
ShouldNotBeNull

Creates an error message that indicates an assertion that verifies that an object is not null failed.

public class
ShouldNotBeOfClassIn

Creates an error message indicating that an assertion that verifies that an object is not of type in group of types failed.

public class
ShouldNotBePrimitive

Creates an error message indicating that an assertion that verifies that a class is (or not) a primitive data type, i.e, byte, short, int, long, float, double, char and boolean.

public class
ShouldNotBeSame

Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.

public class
ShouldNotContain

Creates an error message indicating that an assertion that verifies a group of elements does not contain a given set of values failed.

public class
ShouldNotContainAnyWhitespaces

Creates an error message indicating that an assertion that verifies that a CharSequence does not contain whitespace characters.

public class
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.

public class
ShouldNotContainCharSequence

Creates an error message indicating that an assertion that verifies that a CharSequence does not contain another CharSequence failed.

public class
ShouldNotContainKey

Creates an error message indicating that an assertion that verifies a map does not contains a key failed.

public class
ShouldNotContainKeys

Creates an error message indicating that an assertion that verifies a map does not contain keys.

public class
ShouldNotContainNull

Creates an error message indicating that an assertion that verifies a group of elements does not contain null elements failed.

public class
ShouldNotContainOnlyWhitespaces

Creates an error message indicating that an assertion that verifies CharSequence is not blank.

public class
ShouldNotContainPattern

Creates an error message indicating that an assertion that verifies that a CharSequence does not contain a regular expression failed.

public class
ShouldNotContainSequence

Creates an error message indicating that an assertion that verifies that a group of elements does not contain a sequence of values failed.

public class
ShouldNotContainSubsequence

Creates an error message indicating that an assertion that verifies that a group of elements does not contains a subsequence of values failed.

public class
ShouldNotContainValue

Creates an error message indicating that an assertion that verifies a map does not contains a value.

public class
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.

public class
ShouldNotEndWithIgnoringCase

Creates an error message indicating that an assertion that verifies that CharSequence does not end with a given value (ignoring case considerations) failed.

public class
ShouldNotEndWithWhitespaces

Creates an error message indicating that an assertion that verifies that a CharSequence does not end with whitespace characters.

public class
ShouldNotExist

Creates an error message indicating that an assertion that verifies that a File or Path does not exist failed.

public class
ShouldNotHave

Creates an error message indicating that an assertion that verifies that a value does not satisfy a Condition failed.

public class
public class
ShouldNotHaveDuplicates

Creates an error message indicating that an assertion that verifies a group of elements is does not have duplicates failed.

public class
ShouldNotHaveSameClass

Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.

public class
public class
public class
public class
public class
ShouldNotMatch

Creates an error message indicating that an assertion that verifies that a value not satisfying a Predicate failed.

public class
ShouldNotMatchPattern

Creates an error message indicating that an assertion that verifies that a CharSequence does not match a pattern failed.

public class
public class
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.

public class
ShouldNotStartWithIgnoringCase

Creates an error message indicating that an assertion that verifies CharSequence does not start with a given value (ignoring case considerations) failed.

public class
ShouldNotStartWithWhitespaces

Creates an error message indicating that an assertion that verifies that a CharSequence does not start with whitespace characters.

public class
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.

public class
ShouldOnlyHaveFields

Creates an error message indicating that an assertion that verifies that a class has only the fields.

public class
ShouldSatisfy

Creates an error message indicating that an assertion that verifies that a Condition or a list of Consumers cannot be satisfied.

public class
ShouldSatisfyOnlyOnce

Creates an error message indicating that an assertion that verifies that requirements are not satisfied only once.

public class
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.

public class
ShouldStartWithIgnoringCase

Creates an error message indicating that an assertion that verifies CharSequence starts with a given value (ignoring case considerations) failed.

public class
public class
SubarraysShouldHaveSameSize

Creates an error message indicating that an assertion that verifies that some subarray (in multidimensional arrays) has certain size failed.

public class
public class