public void Uses_Known_Key_Names_To_Populate_Short_Message(string knownKeyName)
        {
            var formatter = new DictionaryGelfMessageFormatter();
            
            var dictionary = new Dictionary<string, string>
            {
                {knownKeyName, "Short message"},
            };

            var gelfMessage = GelfMessage.EmptyGelfMessage;
            formatter.Format(gelfMessage, dictionary);

            Assert.That(gelfMessage.ShortMessage, Is.EqualTo("Short message"));
        }
        public void Takes_Key_Value_Pairs_And_Puts_Them_Into_Gelf_Message_With_Underscores()
        {
            var formatter = new DictionaryGelfMessageFormatter();

            var dictionary = new Dictionary<string, string>
            {
                {"animal", "cat"},
                {"sleeps", "during the day"}
            };

            var gelfMessage = GelfMessage.EmptyGelfMessage;

            formatter.Format(gelfMessage, dictionary);
            
            Assert.That(gelfMessage["_animal"], Is.EqualTo("cat"));
            Assert.That(gelfMessage["_sleeps"], Is.EqualTo("during the day"));
        }