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

            var ctx = ContextWithPermission(permission.Id);

            A.CallTo(() => urlGenerator.WorkflowsUI(appId))
            .Returns("workflows-url");

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

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