private void TestQuery1()
{
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, 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]);
});
}