public void MultipleSynonymsCanMapToTheSameNoun()
        {
            var nounSynonyms = new NounSynonyms();

            nounSynonyms.Add("golden key", "key");
            nounSynonyms.Add("rusty key", "key");

            Assert.AreEqual("key", nounSynonyms.GetNounForSynonym("golden key"));
            Assert.AreEqual("key", nounSynonyms.GetNounForSynonym("rusty key"));
        }
        public void AddReturnsIFNounIsNull()
        {
            var nounSynonyms = new NounSynonyms();

            nounSynonyms.Add("test", "");
            Assert.AreEqual("", nounSynonyms.GetNounForSynonym("test"));
        }
        public void AddCreatesSynonymMappingForANoun()
        {
            var nounSynonyms = new NounSynonyms();

            nounSynonyms.Add("golden key", "key");

            Assert.AreEqual("key", nounSynonyms.GetNounForSynonym("golden key"));
        }
        public void GetReturnsEmptyStringForNonExistingSysnonym()
        {
            var nounSynonyms = new NounSynonyms();

            Assert.AreEqual(string.Empty, nounSynonyms.GetNounForSynonym("golden key"));
        }