public function shouldExistInTableRecordsMatching($table, YamlStringNode $criteria)
    {
        foreach ($criteria->toArray() as $row) {
            $count = $this->countRecordsInTableMatching($table, $row);
            Assert::assertEquals(1, $count, sprintf('Does not exist any record in the database "%s" matching given conditions', $table));
        }
    }