/** * @covers Fwk\Core\Application::offsetUnset */ public function testUnregister() { $this->assertEquals($this->object, $this->object->register('TestAction', new Action\CallableActionProxy(function () { return 'test'; }))); $this->assertTrue($this->object->exists('TestAction')); $this->assertEquals($this->object, $this->object->unregister('TestAction')); $this->assertFalse($this->object->exists('TestAction')); }