Class HasColumnMatcher

    • Method Detail

      • hasAColumn

        public static org.hamcrest.Matcher<Table> hasAColumn​(String column,
                                                             String... expectedValues)
        Creates an instance of HasColumnMatcher that checks columns of the Table. It is expected that the table has a column with a header as it is defined by column. Also it is expected that a column has values as it is defied by expectedValues with the same order.
        Parameters:
        column - is header mane of the expected column
        expectedValues - values of the expected column
        Returns:
        created object of HasColumnMatcher
      • hasAColumn

        public static org.hamcrest.Matcher<Table> hasAColumn​(org.hamcrest.Matcher<? super String> columnMatcher,
                                                             String... expectedValues)
        Creates an instance of HasColumnMatcher that checks columns of the Table. It is expected that the table has a column with a header that meets the criteria defined by columnMatcher. Also it is expected that a column has values as it is defied by expectedValues with the same order.
        Parameters:
        columnMatcher - is the criteria to check and find the expected column
        expectedValues - values of the expected column
        Returns:
        created object of HasColumnMatcher
      • hasAColumn

        public static org.hamcrest.Matcher<Table> hasAColumn​(String column,
                                                             org.hamcrest.Matcher<? super List<String>> valuesMatcher)
        Creates an instance of HasColumnMatcher that checks columns of the Table. It is expected that the table has a column with a header as it is defined by column. Also it is expected that a column has values that meet the criteria defined by valuesMatcher.
        Parameters:
        column - is header mane of the expected column
        valuesMatcher - is the criteria to check values of the expected column
        Returns:
        created object of HasColumnMatcher
      • hasAColumn

        public static org.hamcrest.Matcher<Table> hasAColumn​(org.hamcrest.Matcher<? super String> columnMatcher,
                                                             org.hamcrest.Matcher<? super List<String>> valuesMatcher)
        Creates an instance of HasColumnMatcher that checks columns of the Table. It is expected that the table has a column with a header that meets the criteria defined by columnMatcher. Also it is expected that a column has values that meet the criteria defined by valuesMatcher.
        Parameters:
        columnMatcher - is the criteria to check and find the expected column
        valuesMatcher - is the criteria to check values of the expected column
        Returns:
        created object of HasColumnMatcher
      • hasAColumn

        public static org.hamcrest.Matcher<Table> hasAColumn​(org.hamcrest.Matcher<? super String> columnMatcher)
        Creates an instance of HasColumnMatcher that checks columns of the Table. It is expected that the table has a column with a header that meets the criteria defined by columnMatcher.
        Parameters:
        columnMatcher - is the criteria to check and find the expected column
        Returns:
        created object of HasColumnMatcher
      • hasAColumn

        public static org.hamcrest.Matcher<Table> hasAColumn​(String column)
        Creates an instance of HasColumnMatcher that checks columns of the Table. It is expected that the table has a column with a header as it is defined by column.
        Parameters:
        column - is header mane of the expected column
        Returns:
        created object of HasColumnMatcher