public void Execute_ClipbardServiceSetDataThrowsException_DoNotTrhowException() { _clipboardService.When(x => x.SetDataObject(Arg.Any <object>())).Throw <Exception>(); Assert.DoesNotThrow(() => _copyToClipboardCommand.Execute(null)); }
public void Execute_ClipbardServiceSetDataThrowsException_DoNotTrhowException() { _clipboardService.When(x => x.SetDataObject(Arg.Any <object>())).Throw <Exception>(); Assert.DoesNotThrow(() => _copyToClipboardCommand.Execute(null)); }