public function assertQueriesByStatement($statement, $message = '')
    {
        $this->readQueries();
        $message = $message ?: 'Failed asserting that queries beginning with statement [' . $statement . '] were made.';
        $statementIterator = new MainStatementQueriesFilter(new \ArrayIterator($this->filteredQueries), $statement);
        Assert::assertNotEmpty(iterator_to_array($statementIterator), $message);
    }