public void GetProperty_happy_path() { ConfiguredInstance instance = new ConfiguredInstance(typeof (ColorRule)) .WithProperty("color").EqualTo("Red").WithProperty("Age").EqualTo("34"); IConfiguredInstance configuredInstance = instance; Assert.AreEqual("Red", configuredInstance.GetProperty("color")); Assert.AreEqual("34", configuredInstance.GetProperty("Age")); instance.WithProperty("color").EqualTo("Blue"); Assert.AreEqual("Blue", configuredInstance.GetProperty("color")); }