public void MarkAsRead__UpdatesIsRead() { var test = new Tweet(); test. AssertThatChangeNotificationIsRaisedBy(x => x.IsRead). When(test.MarkAsRead); }
public void Archive__UpdatesIsArchived() { var test = new Tweet(); test. AssertThatChangeNotificationIsRaisedBy(x => x.IsArchived). When(test.Archive); }