Uses of Class
org.fest.assertions.ByteAssert
-
Uses of ByteAssert in org.fest.assertions
Methods in org.fest.assertions that return ByteAssertModifier and TypeMethodDescriptionSets the description of the actual value, to be used in as message of any
thrown when an assertion fails.AssertionError
ByteAssert.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 ByteAssert
Assertions.assertThat
(byte actual) Creates a new instance of
.ByteAssert
static ByteAssert
Assertions.assertThat
(Byte actual) Creates a new instance of
.ByteAssert
ByteAssert.describedAs
(String description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(String)
ByteAssert.describedAs
(Description description) Alias for
, since "as" is a keyword in Groovy.GenericAssert.as(Description)
ByteAssert.doesNotSatisfy
(Condition<Byte> condition) Verifies that the actualByte
does not satisfy the given condition.Alias for
.satisfies(Condition)
ByteAssert.isEqualTo
(byte expected) Verifies that the actualByte
value is equal to the given one.Verifies that the actualByte
value is equal to the given one.ByteAssert.isGreaterThan
(byte other) Verifies that the actualByte
value is greater than the given one.ByteAssert.isGreaterThanOrEqualTo
(byte other) Verifies that the actualByte
value is greater or equal to the given one.ByteAssert.isLessThan
(byte other) Verifies that the actualByte
value is less than the given one.ByteAssert.isLessThanOrEqualTo
(byte other) Verifies that the actualByte
value is less or equal to the given one.ByteAssert.isNegative()
Verifies that the actualByte
value is negative.Alias for
.doesNotSatisfy(Condition)
ByteAssert.isNotEqualTo
(byte other) Verifies that the actualByte
value is not equal to the given one.ByteAssert.isNotEqualTo
(Byte other) Verifies that the actualByte
is not equal to the given one.ByteAssert.isNotNull()
Verifies that the actualByte
is notnull
.ByteAssert.isNotSameAs
(Byte other) Verifies that the actualByte
is not the same object as the given one.ByteAssert.isPositive()
Verifies that the actualByte
value is positive.Verifies that the actualByte
is the same object as the given one.ByteAssert.isZero()
Verifies that the actualByte
value is equal to zero.ByteAssert.overridingErrorMessage
(String message) Replaces the default message displayed in case of a failure with the given one.Verifies that the actualByte
satisfies the given condition.