Exemplo n.º 1
0
 public CardBuilderService(
     RarityService rarityService,
     UniversalDateTimeService universalDateTimeService)
 {
     this.rarityService            = rarityService;
     this.universalDateTimeService = universalDateTimeService;
 }
Exemplo n.º 2
0
        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);
        }