Пример #1
0
 public void DelegateCommandBaseShouldThrowIfCanExecuteMethodDelegateNull()
 {
     var command = new DelegateCommandMock((o) => { }, null);
 }
Пример #2
0
 public void DelegateCommandBaseShouldThrowIfCanExecuteMethodDelegateNull()
 {
     Assert.Throws<ArgumentNullException>(() =>
     {
         var command = new DelegateCommandMock((o) => { }, null);
     });
 }
Пример #3
0
 public void DelegateCommandBaseShouldThrowIfAllDelegatesAreNull()
 {
     var command = new DelegateCommandMock(null, null);
 }
Пример #4
0
 public void DelegateCommandBaseShouldThrowIfAllDelegatesAreNull()
 {
     Assert.Throws<ArgumentNullException>(() =>
     {
         var command = new DelegateCommandMock(null, null);
     });
 }