public class AssertionsOnValueNullity extends Object
AssertOnValueNullity| Modifier and Type | Method and Description |
|---|---|
static <A extends AbstractAssert> |
isNotNull(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value)
Verifies that the value is not
null. |
static <A extends AbstractAssert> |
isNull(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value)
Verifies that the value is
null. |
public static <A extends AbstractAssert> A isNull(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value)
null.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.this assertion object.AssertionError - If the value is not null.public static <A extends AbstractAssert> A isNotNull(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value)
null.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.this assertion object.AssertionError - If the value is null.Copyright © 2015 AssertJ. All Rights Reserved.