public function testRun() { $q = 'SELECT something'; $this->connection->expects($this->once())->method('query')->with($q); $this->object->run($q); }