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]);
});
}