public function testSetConfig() { $config = new Config\Config(array('barHeight' => 150, 'unkownProperty' => 'aValue')); $this->_object->setConfig($config); $this->assertEquals(150, $this->_object->getBarHeight()); }