public Account( IProvideDate dateProvider, IStoreTransactions transactionsStore, IAmConsole console) { this.dateProvider = dateProvider ?? throw new ArgumentNullException(nameof(dateProvider)); this.transactionsStore = transactionsStore ?? throw new ArgumentNullException(nameof(transactionsStore)); this.console = console ?? throw new ArgumentNullException(nameof(console)); }
private FakeConsole() { consoleMock = A.Fake <IAmConsole>(); }
public StatementPrinter(IAmConsole console) { this.console = console ?? throw new ArgumentNullException(nameof(console)); }