Microsoft.WindowsAzure.MediaServices.Client.Tests.ChannelMetricsCollectionE2ETests.TestQuery1 C# (CSharp) Method

TestQuery1() private method

private TestQuery1 ( ) : void
return void
        private void TestQuery1()
        {
            GetChannelIds().ForEach(channelId =>
            {
                var res = _mediaConext.ChannelMetrics.GetChannelMetrics(
                    GetTableEndPoint(),
                    WindowsAzureMediaServicesTestConfiguration.TelemetryStorageAccountKey,
                    AccountId.ToString(),
                    channelId,
                    new DateTime(2011, 3, 2, 21, 53, 38, DateTimeKind.Utc),
                    new DateTime(2011, 3, 2, 21, 53, 40, DateTimeKind.Utc));
                Assert.IsNotNull(res);
                var resArray = res.ToArray();
                Assert.AreEqual(resArray.Length, 2);
                VerifyResult(resArray[0], TestData[0]);
                VerifyResult(resArray[1], TestData[1]);
            });
        }