/** * Test router load * * @return void * * @since 1.0 */ public function testLoadRouter() { $router = new WebServiceApplicationWebRouter($this->getMockWeb(), new JInput()); $this->_instance->loadRouter($router); $actual = TestReflection::getValue($this->_instance, 'router'); $this->assertEquals($router, $actual); }