public function testConfigure() { $this->object->configure(); $array = array(); $this->assertThat($this->container->getConstant('controller.paths'), $this->equalTo($array)); $this->assertThat($this->container->getConstant('command.paths'), $this->equalTo($array)); $this->assertThat($this->container->getConstant('view.paths'), $this->equalTo($array)); }
public function testSetConstant() { $this->object->setConstant('test.first', 'overwritten'); $this->assertThat($this->object->getConstant('test.first'), $this->equalTo('overwritten')); }