public function testPushKey() { $configuration = new Configuration(); $configuration->push('class', 'property', 'value', 'index'); $this->setExpectedException('Exception'); $configuration->push('class', 'property', 'value2', 'index'); }