public void OMM_SubConfig_Object_ConditionalDefault_UseMessage_Accessor() { Object2 obj = new Object2() { Value = 99 }; string value1 = ObjectMessageMap.GetMessage(obj); string value2 = ObjectMessageMap.GetMessage(obj.GetType()); Assert.AreEqual(TestResources.UNDER_LIMIT, value1); Assert.AreEqual("", value2); }