public class AssertionsOnValueCondition extends Object
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert<?>> |
is(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
org.assertj.core.api.Condition<?> condition)
Verifies that the value match with condition.
|
static <A extends AbstractAssert<?>> |
isNot(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
org.assertj.core.api.Condition<?> condition)
Verifies that the value not match with condition.
|
public static <A extends AbstractAssert<?>> A is(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value, org.assertj.core.api.Condition<?> condition)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.condition
- The condition to use for validation.this
assertion object.AssertionError
- If the value is not equal to the number in parameter.public static <A extends AbstractAssert<?>> A isNot(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value, org.assertj.core.api.Condition<?> condition)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.condition
- The condition to use for validation.this
assertion object.AssertionError
- If the value is not equal to the number in parameter.Copyright © 2020 AssertJ. All rights reserved.