public function testConfigException() { $this->setExpectedException('Exception'); $c = new Config(array('data' => 123)); $c->data = 456; }