public void GetLayoutName_NonExistingPackage_ReturnsInitialTemplateTitle()
        {
            //Arrange
            var templateTitle = "TestPackage.TestTemplateName";

            //Act
            var templateTitleParser = new TemplateTitleParser();
            var resultLayoutName    = templateTitleParser.GetLayoutName(templateTitle);

            //Assert
            Assert.AreEqual(templateTitle, resultLayoutName, "The initial template title should be preserved.");
        }
        public void GetLayoutName_InvalidCharacters_ReplaceIvalidCharacters()
        {
            //Arrange
            var templateTitle          = "Some<>*Test:?Title";
            var expectedLayoutFileName = "Some_Test_Title";

            //Act
            var templateTitleParser = new TemplateTitleParser();
            var resultLayoutName    = templateTitleParser.GetLayoutName(templateTitle);

            //Assert
            Assert.AreEqual(expectedLayoutFileName, resultLayoutName, "The invalid characters are not stripped correctly.");
        }