BloomTests.Book.TranslationGroupManagerTests.ShouldNormallyShowEditable_SituationsWhereVernacularShouldBeShown C# (CSharp) Method

ShouldNormallyShowEditable_SituationsWhereVernacularShouldBeShown() private method

        public void ShouldNormallyShowEditable_SituationsWhereVernacularShouldBeShown()
        {
            Assert.IsTrue(TranslationGroupManager.ShouldNormallyShowEditable("xyz", new[] {"V"}, "", "", _collectionSettings.Object),
                "The data-default-languages calls for the vernacular ");
            Assert.IsTrue(TranslationGroupManager.ShouldNormallyShowEditable("xyz", new[] { "N1","V" }, "", "", _collectionSettings.Object),
                "The data-default-languages calls for the vernacular ");
            Assert.IsTrue(TranslationGroupManager.ShouldNormallyShowEditable("xyz", new string[] {}, "", "", _collectionSettings.Object),
                "The data-default-languages is empty, so should default to 'auto', which always includes vernacular ");

            Assert.IsTrue(TranslationGroupManager.ShouldNormallyShowEditable("xyz", new[] { "" }, "", "", _collectionSettings.Object),
                "The data-default-languages is empty, so should default to 'auto', which always includes vernacular ");
            Assert.IsTrue(TranslationGroupManager.ShouldNormallyShowEditable("xyz", new[] { "auto" }, "", "", _collectionSettings.Object),
                "The data-default-languages is auto, which always includes vernacular ");
            Assert.IsTrue(TranslationGroupManager.ShouldNormallyShowEditable("xyz", new[] { "AUTO" }, "", "", _collectionSettings.Object),
                "The data-default-languages is AUTO, which always includes vernacular ");
        }