private void TestQuery2()
{
GetStreamingEndpointIds().ForEach(streamingEndpointId =>
{
var res = _mediaConext.StreamingEndPointRequestLogs.GetStreamingEndPointMetrics(
GetTableEndPoint(),
WindowsAzureMediaServicesTestConfiguration.TelemetryStorageAccountKey,
AccountId.ToString(),
streamingEndpointId,
new DateTime(2012, 3, 2, 21, 53, 38, DateTimeKind.Utc),
new DateTime(2012, 3, 3, 21, 53, 40, DateTimeKind.Utc));
Assert.IsNotNull(res);
var resArray = res.ToArray();
Assert.AreEqual(resArray.Length, 4);
VerifyResult(resArray[0], TestData[0]);
VerifyResult(resArray[1], TestData[1]);
VerifyResult(resArray[2], TestData[2]);
VerifyResult(resArray[3], TestData[3]);
});
}