示例#1
0
 public OddsService(IOddsRepository oddsRepository)
 {
     _oddsRepository = oddsRepository;
 }
示例#2
0
 public void Setup()
 {
     _oddsRepository = Substitute.For <IOddsRepository>();
     sut             = new OddsService(_oddsRepository);
 }