public function testSetDataHandler() { $SofortLibAbstractMock = new SofortLibAbstractMock(self::$configkey); $dataHandler = self::getProperty('_DataHandler'); $AbstractDataHandler = $this->getMockForAbstractClass('AbstractDataHandler', array(), '', FALSE); $SofortLibAbstractMock->setDataHandler($AbstractDataHandler); $this->assertEquals($AbstractDataHandler, $SofortLibAbstractMock->getDataHandler()); }