예제 #1
0
            public async Task CanFindASingleScope(NpgsqlScopeStore store, Scope scope)
            {
                // Given
                await store.SaveScopeAsync(scope);

                // When
                var scopes = await store.FindScopesAsync(new[] { scope.Name });

                // Then
                scopes.Count().ShouldBe(1);
            }
            public async Task CanFindASingleScope(NpgsqlScopeStore store, Scope scope)
            {
                // Given
                await store.SaveScopeAsync(scope);

                // When
                var scopes = await store.FindScopesAsync(new[] { scope.Name });

                // Then
                scopes.Count().ShouldBe(1);

            }