This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestMethod] | |
public void when_can_continue_property_changed_should_raise_property_changed_event() | |
{ | |
var propertyChanedFiredForCanContinue = false; | |
_sut.PropertyChanged += (s, a) => { if (a.PropertyName == "CanContinue") propertyChanedFiredForCanContinue = true; }; | |
_sut.CanContinue = !_sut.CanContinue; | |
Assert.IsTrue(propertyChanedFiredForCanContinue); | |
} |