Class AssertionsOnRowOfChangeExistence

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

public class AssertionsOnRowOfChangeExistence extends Object
Implements the assertion method on the existence of a row of a change.
Author:
Régis Pouiller
See Also:
  • Method Details

    • exists

      public static <A extends AbstractAssert<?>> A exists(A assertion, org.assertj.core.api.WritableAssertionInfo info, Row row)
      Verifies that the row of the change exists.
      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.
      row - The row.
      Returns:
      this assertion object.
      Throws:
      AssertionError - If the row of the change does not exist.
      See Also:
    • doesNotExist

      public static <A extends AbstractAssert<?>> A doesNotExist(A assertion, org.assertj.core.api.WritableAssertionInfo info, Row row)
      Verifies that the row of the change does not exist.
      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.
      row - The row.
      Returns:
      this assertion object.
      Throws:
      AssertionError - If the row of the change exists.
      See Also: