public CardBuilderService( RarityService rarityService, UniversalDateTimeService universalDateTimeService) { this.rarityService = rarityService; this.universalDateTimeService = universalDateTimeService; }
public CreateCardTests() { randomNumberProviderMock .Setup(x => x.GenerateRandomNumber(It.IsAny <int>(), It.IsAny <int>())) .Returns(50); rarityService = new RarityService(randomNumberProviderMock.Object); universalDateTimeService = new UniversalDateTimeService(unixEpochProviderMock.Object); cardBuilderService = new CardBuilderService(rarityService, universalDateTimeService); }