Uses of Class
org.fest.assertions.LongAssert
-
Uses of LongAssert in org.fest.assertions
Methods in org.fest.assertions that return LongAssertModifier and TypeMethodDescriptionSets the description of the actual value, to be used in as message of anythrown when an assertion fails.AssertionErrorLongAssert.as(Description description) Sets the description of the actual value, to be used in as message of anythrown when an assertion fails.AssertionErrorstatic LongAssertAssertions.assertThat(long actual) Creates a new instance of.LongAssertstatic LongAssertAssertions.assertThat(Long actual) Creates a new instance of.LongAssertLongAssert.describedAs(String description) Alias for, since "as" is a keyword in Groovy.GenericAssert.as(String)LongAssert.describedAs(Description description) Alias for, since "as" is a keyword in Groovy.GenericAssert.as(Description)LongAssert.doesNotSatisfy(Condition<Long> condition) Verifies that the actualLongdoes not satisfy the given condition.Alias for.satisfies(Condition)LongAssert.isEqualTo(long expected) Verifies that the actualLongis equal to the given one.Verifies that the actualLongis equal to the given one.LongAssert.isGreaterThan(long other) Verifies that the actualLongis greater than the given one.LongAssert.isGreaterThanOrEqualTo(long other) Verifies that the actualLongis greater or equal to the given one.LongAssert.isLessThan(long other) Verifies that the actualLongis less than the given one.LongAssert.isLessThanOrEqualTo(long other) Verifies that the actualLongis less or equal to the given one.LongAssert.isNegative()Verifies that the actualLongis negative.Alias for.doesNotSatisfy(Condition)LongAssert.isNotEqualTo(long other) Verifies that the actualLongis not equal to the given one.LongAssert.isNotEqualTo(Long other) Verifies that the actualLongis not equal to the given one.LongAssert.isNotNull()Verifies that the actualLongis notnull.LongAssert.isNotSameAs(Long other) Verifies that the actualLongis not the same object as the given one.LongAssert.isPositive()Verifies that the actualLongis positive.Verifies that the actualLongis the same object as the given one.LongAssert.isZero()Verifies that the actualLongis equal to zero.LongAssert.overridingErrorMessage(String message) Replaces the default message displayed in case of a failure with the given one.Verifies that the actualLongsatisfies the given condition.