Package org.assertj.guava.error
Class TableShouldContainCell
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.guava.error.TableShouldContainCell
-
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class TableShouldContainCell extends org.assertj.core.error.BasicErrorMessageFactory
- Author:
- David Harris
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TableShouldContainCell(com.google.common.collect.Table<R,C,V> actual, R row, C column, V expectedValue, V actualValue)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <R,C,V>
org.assertj.core.error.ErrorMessageFactorytableShouldContainCell(com.google.common.collect.Table<R,C,V> actual, R row, C column, V expectedValue, V actualValue)
Creates a new
.TableShouldContainCell
-
-
-
Method Detail
-
tableShouldContainCell
public static <R,C,V> org.assertj.core.error.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 keysC
- the type of the table column keysV
- 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
.
-
-