src/AssertTable.php
public function isComparable(
        TableNode $expected,
        TableNode $actual,
        array $diff_options,
        $message = NULL
    ) {
        $this->doAssert(
            'Failed comparing two tables: ',
            $diff_options,
            $expected,
            $actual,
            $message
        );
    }
public function isComparable(
        TableNode $expected,
        TableNode $actual,
        array $diff_options,
        $message = NULL
    ) {
        $this->doAssert(
            'Failed comparing two tables: ',
            $diff_options,
            $expected,
            $actual,
            $message
        );
    }
Assert any custom comparison between two tables. Provide an array of comparator functions to
support custom comparisons between cell values. The callback should return true if the two
values match and false otherwise.

$tableassert->isComparable(
$expected_table,
$actual_table,
[
'comparators' => [
'date' => function ($expected, $actual) { return new \DateTime($expected) === new \DateTime($actual); },
]
],
'Should have same stuff',
);

@param \Behat\Gherkin\Node\TableNode $expected
@param \Behat\Gherkin\Node\TableNode $actual
@param array                         $diff_options
@param string                        $message

@throws \Ingenerator\BehatTableAssert\TableAssertionFailureException
@return void