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); }
public CardsController(CardBuilderService cardBuilderService) { this.cardBuilderService = cardBuilderService; }