Class TableShouldContainCell

    • Constructor Detail

      • TableShouldContainCell

        private TableShouldContainCell​(com.google.common.collect.Table<R,​C,​V> actual,
                                       R row,
                                       C column,
                                       V expectedValue,
                                       V actualValue)
    • Method Detail

      • tableShouldContainCell

        public static <R,​C,​V> ErrorMessageFactory tableShouldContainCell​(com.google.common.collect.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.