public async Task QueryEntitiesAsync_PartitionAndRowKey_ReturnsSingleEntity() { ITableServiceClient client = new TableServiceClient(_accountSettings); var tableName = _util.GenerateSampleTableName(); _util.CreateTable(tableName); string partitionKey = "A"; string rowKey = "1"; _util.InsertTableEntity(tableName, partitionKey, rowKey); var response = await client.QueryEntitiesAsync<SampleEntity>(tableName, partitionKey, rowKey); Assert.AreEqual(1, response.Entities.Count); var entity = response.Entities[0]; Assert.AreEqual(partitionKey, entity.PartitionKey); Assert.AreEqual(rowKey, entity.RowKey); }