public AccountsControllerTest() { customerAccountsService = Substitute.For <ICustomerAccountsService>(); accountsController = new AccountsController(customerAccountsService); }
public AccountsController(ICustomerAccountsService customerAccountsService) { this.customerAccountsService = customerAccountsService; }