Class TableShouldHaveColumnCount

  • All Implemented Interfaces:
    org.assertj.core.error.ErrorMessageFactory

    public class TableShouldHaveColumnCount
    extends org.assertj.core.error.BasicErrorMessageFactory
    Author:
    David Harris
    • Constructor Detail

      • TableShouldHaveColumnCount

        private TableShouldHaveColumnCount​(Object actual,
                                           int actualSize,
                                           int expectedSize)
    • Method Detail

      • tableShouldHaveColumnCount

        public static org.assertj.core.error.ErrorMessageFactory tableShouldHaveColumnCount​(Object actual,
                                                                                            int actualSize,
                                                                                            int expectedSize)
        Parameters:
        actual - the actual value in the failed assertion.
        actualSize - the number of column keys in actual.
        expectedSize - the expected number of column keys.
        Returns:
        the created ErrorMessageFactory.