Uses of Class
org.fest.assertions.ObjectAssert
-
Uses of ObjectAssert in org.fest.assertions
Fields in org.fest.assertions declared as ObjectAssertMethods in org.fest.assertions that return ObjectAssertModifier and TypeMethodDescriptionSets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ObjectAssert.as
(Description description) Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
static ObjectAssert
Assertions.assertThat
(Object actual) Creates a new instance of
.ObjectAssert
ObjectAssert.describedAs
(String description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(String)
ObjectAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ObjectAssert.doesNotSatisfy
(Condition<Object> condition) Verifies that the actualObject
does not satisfy the given condition.Alias for
.satisfies(Condition)
Verifies that the actualObject
is equal to the given one.ObjectAssert.isInstanceOf
(Class<?> type) Verifies that the actualObject
is an instance of the given type.ObjectAssert.isInstanceOfAny
(Class<?>... types) Verifies that the actualObject
is an instance of any of the given types.Alias for
.doesNotSatisfy(Condition)
ObjectAssert.isNotEqualTo
(Object other) Verifies that the actualObject
is not equal to the given one.ObjectAssert.isNotNull()
Verifies that the actualObject
is notnull
.ObjectAssert.isNotSameAs
(Object other) Verifies that the actualObject
is not the same as the given one.Verifies that the actualObject
is the same as the given one.ObjectAssert.overridingErrorMessage
(String message) Replaces the default message displayed in case of a failure with the given one.Verifies that the actualObject
satisfies the given condition.