/** * Generated from @assert ('module=retmodule') [==] "http://localhost/?module=retmodule&page=1&sort=id" [[$_SERVER['QUERY_STRING'] = '_module=test&_page=1&_sort=id']]. * * @covers Kotchasan\View::back */ public function testBack2() { $_SERVER['QUERY_STRING'] = '_module=test&_page=1&_sort=id'; $this->assertEquals("http://localhost/?module=retmodule&page=1&sort=id", \Kotchasan\View::back('module=retmodule')); }