public function testCtor() { $handlerMock = $this->getDatabaseHandler(); $gateway = $this->getGateway(); $this->assertAttributeSame($handlerMock, 'dbHandler', $gateway); }