/** * Tests the set method. * * @return void * * @covers Joomla\Application\AbstractApplication::setConfiguration * @since 1.0 */ public function testSetConfiguration() { $config = new Registry(array('foo' => 'bar')); $this->assertSame($this->instance, $this->instance->setConfiguration($config), 'Checks chainging.'); $this->assertEquals('bar', $this->instance->get('foo'), 'Checks the configuration was set.'); }