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

SetAndGetFormat() private method

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

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

            Assert.IsNotNull(config.Formats);
            Assert.AreEqual(1, config.Formats.Count);
            Assert.AreEqual("<keyword>", config.Formats["Keyword"]);
        }