'foo'); $ds = $this->getMockForAbstractClass('\Psecio\Gatekeeper\DataSource', array($config)); $ds->setConfig($config); $this->assertEquals($ds->getConfig(), $config); } /** * Test the setting for the data source configuration in constructor */ public function testGetSetConfigConstruct() { $config = array('test' => 'foo'); $ds = $this->getMockForAbstractClass('\Psecio\Gatekeeper\DataSource', array($config)); $this->assertEquals($ds->getConfig(), $config); } }