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 anythrown when an assertion fails.AssertionErrorObjectAssert.as(Description description) Sets the description of the actual value, to be used in as message of anythrown when an assertion fails.AssertionErrorstatic ObjectAssertAssertions.assertThat(Object actual) Creates a new instance of.ObjectAssertObjectAssert.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 actualObjectdoes not satisfy the given condition.Alias for.satisfies(Condition)Verifies that the actualObjectis equal to the given one.ObjectAssert.isInstanceOf(Class<?> type) Verifies that the actualObjectis an instance of the given type.ObjectAssert.isInstanceOfAny(Class<?>... types) Verifies that the actualObjectis an instance of any of the given types.Alias for.doesNotSatisfy(Condition)ObjectAssert.isNotEqualTo(Object other) Verifies that the actualObjectis not equal to the given one.ObjectAssert.isNotNull()Verifies that the actualObjectis notnull.ObjectAssert.isNotSameAs(Object other) Verifies that the actualObjectis not the same as the given one.Verifies that the actualObjectis 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 actualObjectsatisfies the given condition.