public function assertInDatabase($table, array $data, $message, $negate = false)
    {
        $count = $this->seeRowsWereReturned($table, $data);
        $method = $negate ? 'assertEquals' : 'assertGreaterThan';

        $this->$method(0, $count, $message);

        return $this;
    }