public void Initialize() { _factory = new TestEquipmentFactory(); _random = new Mock <IRandom>(); _random.Setup(x => x.Next()).Returns(0); _random.Setup(x => x.NextDouble()).Returns(0); _regal = new RegalOrb(_random.Object); _transmutation = new TransmutationOrb(_random.Object); _currencyTestHelper = new CurrencyTestHelper(); }
public CurrencyFactory( IFetchCurrencyValues currencyValueFetch, TransmutationOrb transmutation, AlterationOrb alteration, AugmentationOrb augmentation, AlchemyOrb alchemy, ChaosOrb chaos, RegalOrb regal, BlessedOrb blessed, ChanceOrb chance, DivineOrb divine, ExaltedOrb exalted, MasterCraft masterCraft, ScouringOrb scouring, // VaalOrb vaal, AnullmentOrb anull ) { Currency = new List <ICurrency> { transmutation, alteration, augmentation, alchemy, chaos, regal, blessed, chance, divine, exalted, masterCraft, scouring, // vaal, anull }; _currencyFetch = currencyValueFetch; }