Class TableShouldContainCell

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.guava.error.TableShouldContainCell
All Implemented Interfaces:
ErrorMessageFactory

public class TableShouldContainCell extends BasicErrorMessageFactory
Author:
David Harris
  • Method Details

    • tableShouldContainCell

      public static <R, C, V> ErrorMessageFactory tableShouldContainCell(Table<R,C,V> actual, R row, C column, V expectedValue, V actualValue)
      Creates a new TableShouldContainCell.
      Type Parameters:
      R - the type of the table row keys
      C - the type of the table column keys
      V - the type of the mapped values
      Parameters:
      actual - the actual value in the failed assertion.
      row - the row where actualValue was read.
      column - the column where actualValue was read.
      expectedValue - the expected value of the cell.
      actualValue - the expected actual value of the cell.
      Returns:
      the created ErrorMessageFactory.