Esempio n. 1
0
 public void ChangingTitleWillRaiseNotifyEvent(ProductEditorViewModel sut, string title)
 {
     // Fixture setup
     // Exercise system and verify outcome
     sut.ShouldNotifyOn(s => s.Title).When(s => s.Title = title);
     // Teardown
 }
Esempio n. 2
0
 public void ChangingCurrencyWillRaiseNotifyEvent(ProductEditorViewModel sut, string currency)
 {
     // Fixture setup
     // Exercise system and verify outcome
     sut.ShouldNotifyOn(s => s.Currency).When(s => s.Currency = currency);
     // Teardown
 }
 public void ChangingTitleWillRaiseNotifyEvent(ProductEditorViewModel sut, string title)
 {
     // Fixture setup
     // Exercise system and verify outcome
     sut.ShouldNotifyOn(s => s.Title).When(s => s.Title = title);
     // Teardown
 }
 public void ChangingCurrencyWillRaiseNotifyEvent(ProductEditorViewModel sut, string currency)
 {
     // Fixture setup
     // Exercise system and verify outcome
     sut.ShouldNotifyOn(s => s.Currency).When(s => s.Currency =  currency);
     // Teardown
 }