Ejemplo n.º 1
0
 public void OneTimeSetup()
 {
     // ARRANGE
     _cryptoService      = Substitute.For <ICryptoService>();
     _blockSimpleFactory = Substitute.For <IBlockSimpleFactory>();
     _mapper             = Substitute.For <IMapper>();
 }
Ejemplo n.º 2
0
 public BlockStacker(ICryptoService cryptoService, IBlockSimpleFactory blockSimpleFactory, IMapper mapper)
 {
     _cryptoService      = cryptoService ?? throw new ArgumentNullException(nameof(cryptoService));
     _blockSimpleFactory = blockSimpleFactory ?? throw new ArgumentNullException(nameof(blockSimpleFactory));
     _mapper             = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Ejemplo n.º 3
0
 public void OneTimeTearDown()
 {
     _cryptoService      = null;
     _blockSimpleFactory = null;
     _mapper             = null;
 }