public function testGenerateUrlWithDataAndQueryParams() { $router = static::createRouter(); $this->assertSame('/user/12345?from=top', $router->url('User::detail', ['id' => 12345], ['from' => 'top'])); }