public void DelegateCommandBaseShouldThrowIfCanExecuteMethodDelegateNull()
 {
     var command = new DelegateCommandMock((o) => { }, null);
 }
Esempio n. 2
0
 public void DelegateCommandBaseShouldThrowIfCanExecuteMethodDelegateNull()
 {
     Assert.Throws<ArgumentNullException>(() =>
     {
         var command = new DelegateCommandMock((o) => { }, null);
     });
 }
 public void DelegateCommandBaseShouldThrowIfAllDelegatesAreNull()
 {
     var command = new DelegateCommandMock(null, null);
 }
Esempio n. 4
0
 public void DelegateCommandBaseShouldThrowIfAllDelegatesAreNull()
 {
     Assert.Throws<ArgumentNullException>(() =>
     {
         var command = new DelegateCommandMock(null, null);
     });
 }