public void RegisterTask_ThrowsIfEndDelegateIsNull() { // Act & assert ExceptionHelper.ExpectArgumentNullException( delegate { AsyncManagerExtensions.RegisterTask(new AsyncManager(), _ => null, null); }, "endDelegate"); }
public void RegisterTask_ThrowsIfAsyncManagerIsNull() { // Act & assert ExceptionHelper.ExpectArgumentNullException( delegate { AsyncManagerExtensions.RegisterTask(null, _ => null, _ => { }); }, "asyncManager"); }
public void RegisterTask_ThrowsIfAsyncManagerIsNull() { // Act & assert Assert.ThrowsArgumentNull( delegate { AsyncManagerExtensions.RegisterTask(null, _ => null, _ => { }); }, "asyncManager" ); }