Created
February 10, 2011 16:20
-
-
Save GraemeF/820810 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[Fact] | |
public void Offset_WhenLogOffsetChanges_RaisesPropertyChanged() | |
{ | |
LogPresenter test = BuildTestSubject(); | |
test.Initialize(); | |
test.AssertThatChangeNotificationIsRaisedBy(x => x.Offset). | |
When(() => _log.PropertyChanged += Raise.With(new PropertyChangedEventArgs("Offset")).Now); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment