public async Task Should_return_clients_result_if_matching_and_permission_given()
        {
            var permission = Permissions.ForApp(Permissions.AppClientsRead, appId.Name);

            var ctx = ContextWithPermission(permission.Id);

            A.CallTo(() => urlGenerator.ClientsUI(appId))
            .Returns("clients-url");

            var result = await sut.SearchAsync("clients", ctx);

            result.Should().BeEquivalentTo(
                new SearchResults()
                .Add("Clients", SearchResultType.Setting, "clients-url"));
        }