Example #1
0
 public static void Setup()
 {
     //accountStore = new AccountStore();
     printerSystem  = new PrinterSystem();
     storage        = new Storage();
     accountService = new AccountService(printerSystem, storage);
 }
 public AccountService(IPrinterSystem printerSystem, IStorage storage)
 {
     _printerSystem = printerSystem;
     _storage       = storage;
 }