Class AssertionsOnValueNullity

java.lang.Object
org.assertj.db.api.assertions.impl.AssertionsOnValueNullity

public class AssertionsOnValueNullity extends Object
Implements the assertion methods on the nullity of a value.
Author:
Régis Pouiller
See Also:
  • Method Details

    • isNull

      public static <A extends AbstractAssert<?>> A isNull(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value)
      Verifies that the value is null.
      Type Parameters:
      A - The type of the assertion which call this method.
      Parameters:
      assertion - The assertion which call this method.
      info - Writable information about an assertion.
      value - The value.
      Returns:
      this assertion object.
      Throws:
      AssertionError - If the value is not null.
    • isNotNull

      public static <A extends AbstractAssert<?>> A isNotNull(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value)
      Verifies that the value is not null.
      Type Parameters:
      A - The type of the assertion which call this method.
      Parameters:
      assertion - The assertion which call this method.
      info - Writable information about an assertion.
      value - The value.
      Returns:
      this assertion object.
      Throws:
      AssertionError - If the value is null.