/** * @covers chromephp::addSettings */ public function testAddSettings() { $aTest = array('UnitKey' => 'UnitValue', 'UnitKey2' => 'UnitValue2'); $oTestClass = new chromephp(); $this->assertNull($oTestClass->addSettings($aTest)); foreach ($aTest as $sKey => $sValue) { $this->assertSame($sValue, $oTestClass->getSetting($sKey)); } }