public SubItemContentfulFactoryTest()
        {
            var timeProvider = new Mock <ITimeProvider>();

            timeProvider.Setup(o => o.Now()).Returns(new DateTime(2017, 01, 01));

            _subItemContentfulFactory = new SubItemContentfulFactory(timeProvider.Object);
        }
        public void ShouldCreateAnExpandingLinkBoxFromAContentfulExpandingLinkBox()
        {
            var contentfulExpandingLinkBox = new ContentfulExpandingLinkBoxBuilder().Build();
            var subItemFactory             = new SubItemContentfulFactory(_timeProvider.Object);
            var factory = new ExpandingLinkBoxContentfulfactory(subItemFactory, _timeProvider.Object);

            var expandingLinkBox = factory.ToModel(contentfulExpandingLinkBox);

            expandingLinkBox.Title.Should().Be(contentfulExpandingLinkBox.Title);
            expandingLinkBox.Links[0].Slug.Should().Be(contentfulExpandingLinkBox.Links[0].Slug);
        }