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