public void GetPropertyNameForControlNameTest()
        {
            PropertyControlTable testTable = new PropertyControlTable();
            Assert.IsNull(testTable.GetPropertyNameFromControlName(expectedControlName));

            testTable.Add(expectedPropertyName, expectedControlName);
            Assert.AreEqual(expectedPropertyName, testTable.GetPropertyNameFromControlName(expectedControlName));

            testTable.Remove(expectedPropertyName, expectedControlName);
            Assert.IsNull(testTable.GetPropertyNameFromControlName(expectedControlName));
        }
        public void AddTest()
        {
            PropertyControlTable testTable = new PropertyControlTable();

            testTable.Add(expectedPropertyName, expectedControlName);
            Assert.AreEqual(expectedControlName, testTable.GetControlNameFromPropertyName(expectedPropertyName));
            Assert.AreEqual(expectedPropertyName, testTable.GetPropertyNameFromControlName(expectedControlName));
        }
        public void RemoveTest()
        {
            PropertyControlTable testTable = new PropertyControlTable();

            testTable.Add(expectedPropertyName, expectedControlName);
            Assert.IsNotNull(testTable.GetPropertyNameFromControlName(expectedControlName));
            Assert.IsNotNull(testTable.GetControlNameFromPropertyName(expectedPropertyName));

            testTable.Remove(expectedPropertyName, expectedControlName);
            Assert.IsNull(testTable.GetPropertyNameFromControlName(expectedControlName));
            Assert.IsNull(testTable.GetControlNameFromPropertyName(expectedPropertyName));
        }