public function testGetRoute() { $expected = new Route(); $config = new RoutesConfig(new IniConfigLoader(TEST_DIR . '/Project/routessdfsdfsdf.ini')); $expected->setConfigHandler($config); $object = new Application(); $object->setRoute($expected); $result = $object->getRoute(); $msg = 'Application::getRoute() returns wrong result!'; $this->assertSame($expected, $result, $msg); }