public function testCloseConnection() { $this->mockEngineMethod('closeConnection')->with($this->equalTo(null)); DbClient::closeConnection(); }