public IAssertProvider EnableExceptions() { var provider = new AssertProvider(this.commandProvider); provider.ThrowExceptions = true; return(provider); }
private IAssertProvider BuildAssertProvider(ICommandProvider commandProvider) { var assertProvider = new AssertProvider(commandProvider); if (this.ThrowExceptions) { return(assertProvider.EnableExceptions()); } return(assertProvider); }
private IAssertProvider BuildAssertProvider(ICommandProvider commandProvider) { var assertProvider = new AssertProvider(commandProvider); if (this.ThrowExceptions) return assertProvider.EnableExceptions(); return assertProvider; }
public IAssertProvider EnableExceptions() { var provider = new AssertProvider(this.commandProvider); provider.ThrowExceptions = true; return provider; }