Acquarella.Tests.Configuration.TextConfigurationTests.SetAndGetFormatWithDots C# (CSharp) Method

SetAndGetFormatWithDots() private method

private SetAndGetFormatWithDots ( ) : void
return void
        public void SetAndGetFormatWithDots()
        {
            TextConfiguration config = new TextConfiguration();

            config.SetFormat("Keyword", "<keyword>...</keyword>");

            Assert.IsNotNull(config.Formats);
            Assert.AreEqual(2, config.Formats.Count);
            Assert.AreEqual("<keyword>", config.Formats["KeywordBegin"]);
            Assert.AreEqual("</keyword>", config.Formats["KeywordEnd"]);
        }