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 (ThrowExceptions) { return(assertProvider.EnableExceptions()); } return(assertProvider); }