public void CanCreateAcsRecordingStorageInfoProperties() { var model = EventGridModelFactory.AcsRecordingStorageInfoProperties( new List <AcsRecordingChunkInfoProperties> { EventGridModelFactory.AcsRecordingChunkInfoProperties("document", 0, "reason", "location", "content") }); Assert.AreEqual("document", model.RecordingChunks.First().DocumentId); Assert.AreEqual(0, model.RecordingChunks.First().Index); Assert.AreEqual("reason", model.RecordingChunks.First().EndReason); Assert.AreEqual("location", model.RecordingChunks.First().MetadataLocation); Assert.AreEqual("content", model.RecordingChunks.First().ContentLocation); }
public void CanCreateAcsRecordingChunkInfoProperties() { var model = EventGridModelFactory.AcsRecordingChunkInfoProperties( "document", 0, "reason", "location", "contentLocation", "delete"); Assert.AreEqual("document", model.DocumentId); Assert.AreEqual(0, model.Index); Assert.AreEqual("reason", model.EndReason); Assert.AreEqual("location", model.MetadataLocation); Assert.AreEqual("contentLocation", model.ContentLocation); Assert.AreEqual("delete", model.DeleteLocation); }