public void TestGetViewerInfoRequest() { var referenceObject = new BaselineDataContracts.GetViewerInfoRequest { Viewer = new BaselineDataContracts.Viewer { Identifier = new Guid("{72D6F6AB-A7B8-4A52-85BB-537F7FC7BAE5}") } }; var currentObject = TestRequestContractCompatibility <GetViewerInfoRequest>(referenceObject); Assert.AreEqual(referenceObject.Viewer.Identifier, currentObject.Viewer.Identifier); }
public void TestGetViewerInfoRequest() { var referenceObject = new BaselineDataContracts.GetViewerInfoRequest { Viewer = new BaselineDataContracts.Viewer {Identifier = new Guid("{72D6F6AB-A7B8-4A52-85BB-537F7FC7BAE5}")} }; var currentObject = TestRequestContractCompatibility<GetViewerInfoRequest>(referenceObject); Assert.AreEqual(referenceObject.Viewer.Identifier, currentObject.Viewer.Identifier); }