test/TableAccessIntegrationTests.cs
/// <summary>
/// Can get a collection of items.
/// </summary>
/// <returns>A task.</returns>
Can get a collection of items.
Can get a collection of items .
[Fact]
        public async Task CanGetCollectionOfItems()
        {
            IReadOnlyCollection<TestEntity> results = null;
            bool threw = false;
            try
            {
                results = await this.sut.FindAllByPartitionKey("list");
            }
            catch (StorageException)
            {
                threw = true;
            }
            Assert.False(threw);
            Assert.NotNull(results);
            Assert.Equal(3, results.Count);
        }
[ Fact ] public async Task CanGetCollectionOfItems ( ) { IReadOnlyCollection < TestEntity > results = null ; bool threw = false ; try { results = await this . sut . FindAllByPartitionKey ( " " ) ; } catch ( StorageException ) { threw = true ; } Assert . False ( threw ) ; Assert . NotNull ( results ) ; Assert . Equal ( 3 , results . Count ) ; }
Can get a collection of items.
Can get a collection of items .
// Arrange // Act // Assert
None