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); }); }
public void DelegateCommandBaseWithNullExecuteFuncShouldThrow() { var command = DelegateCommandMock.FromAsyncHandler(null); }
public void DelegateCommandBaseShouldThrowIfCanExecuteMethodDelegateNull() { var command = new DelegateCommandMock((o) => { }, null); }
public void DelegateCommandBaseShouldThrowIfAllDelegatesAreNull() { var command = new DelegateCommandMock(null, null); }