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