Class AssertionsOnRowCondition

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

public class AssertionsOnRowCondition extends Object
Implements the assertion method on the matching with condition of a row.
Author:
Julien Roy
See Also:
  • Method Details

    • hasValuesSatisfying

      public static <A extends AbstractAssert<?>> A hasValuesSatisfying(A assertion, org.assertj.core.api.WritableAssertionInfo info, List<Value> valuesList, Object... expected)
      Verifies that the values of a row satisfy to conditions in parameter.
      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.
      valuesList - The actual value to validate.
      expected - The expected conditions.
      Returns:
      this assertion object.
      Throws:
      AssertionError - If the columns of the primary key are different to the names in parameters.