public void TestDomReadOnlyResourceCreateWithPersonResource()
        {
            // Arrange
            var apiResource = ApiSampleData.PersonResource;
            var clrResource = SamplePersons.Person;

            // Act
            var actual = DomReadOnlyResource.Create(apiResource, clrResource);

            this.OutputDomTree(actual);

            // Assert
            DomReadOnlyResourceAssert.Equal(ApiSampleData.PersonResource, actual);
            DomReadOnlyResourceAssert.Equal(SamplePersons.Person, actual);
        }
        public void TestDomReadOnlyResourceCreateWithCommentResource()
        {
            // Arrange
            var apiResource = ApiSampleData.CommentResource;
            var clrResource = SampleComments.Comment;

            // Act
            var actual = DomReadOnlyResource.Create(apiResource, clrResource);

            this.OutputDomTree(actual);

            // Assert
            DomReadOnlyResourceAssert.Equal(ApiSampleData.CommentResource, actual);
            DomReadOnlyResourceAssert.Equal(SampleComments.Comment, actual);
        }