public override void Setup()
        {
            base.Setup();

            string xml = PublishedContentXml.PublishContentCacheTestsXml();

            IEnumerable <ContentNodeKit> kits = PublishedContentXmlAdapter.GetContentNodeKits(
                xml,
                TestHelper.ShortStringHelper,
                out ContentType[] contentTypes,
                out DataType[] dataTypes).ToList();
    public override void Setup()
    {
        base.Setup();

        var xml = PublishedContentXml.PublishContentCacheTestsXml();

        IEnumerable <ContentNodeKit> kits = PublishedContentXmlAdapter.GetContentNodeKits(
            xml,
            TestHelper.ShortStringHelper,
            out var contentTypes,
            out var dataTypes).ToList();

        // configure the Home content type to be composed of another for tests.
        var compositionType = new ContentType(TestHelper.ShortStringHelper, -1)
        {
            Alias = "MyCompositionAlias"
        };

        contentTypes.First(x => x.Alias == "Home").AddContentType(compositionType);

        InitializedCache(kits, contentTypes, dataTypes);

        _cache = GetPublishedSnapshot().Content;
    }