private static ContentAreaTransform CreateSubject(IContentMap contentMap = null, IContentTransferContext transferContext = null, ContentFragmentBuilder fragmentBuilder = null)
 {
     if (contentMap == null)
     {
         var mock = new Mock<IContentMap>();
         mock.Setup(x => x.GetContentFunctions(It.IsAny<Guid>(), It.IsAny<string>())).Returns(EmptyContentFunctionLookup);
         contentMap = mock.Object;
     }
     transferContext = transferContext ?? new Mock<IContentTransferContext>().Object;
     fragmentBuilder = fragmentBuilder ?? new Mock<ContentFragmentBuilder>(null, null).Object;
     return new ContentAreaTransform(contentMap, fragmentBuilder, transferContext);
 }
 private static ContentAreaTransform CreateSubject(IContentMap contentMap = null, IContentTransferContext transferContext = null, ContentFragmentBuilder fragmentBuilder = null)
 {
     if (contentMap == null)
     {
         var mock = new Mock <IContentMap>();
         mock.Setup(x => x.GetContentFunctions(It.IsAny <Guid>(), It.IsAny <string>())).Returns(EmptyContentFunctionLookup);
         contentMap = mock.Object;
     }
     transferContext = transferContext ?? new Mock <IContentTransferContext>().Object;
     fragmentBuilder = fragmentBuilder ?? new Mock <ContentFragmentBuilder>(null, null).Object;
     return(new ContentAreaTransform(contentMap, fragmentBuilder, transferContext));
 }