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