예제 #1
0
 public void test_that_if_an_attempt_to_update_a_non_existing_property_is_made_an_exception_is_raised()
 {
     var session = new Session();
     session.ApplyChange("MyProperty", "this new value");
 }
예제 #2
0
 public void test_that_a_property_is_updated_with_the_correct_value_when_apply_change_is_called()
 {
     var session = new Session();
     session.ApplyChange("Title", "MyTest");
     Assert.AreEqual(session.Title, "MyTest");
 }