public SuperMarketTests(SystemUnderTestFixture <Supermarket> fixture) { _supermarket = fixture.SystemUnderTest; _supermarket.Products.Clear(); _supermarket.Promotions.Clear(); }
public ShufflerTests(SystemUnderTestFixture <Shuffler> fixture) { _shuffler = fixture.SystemUnderTest; }
public RankerTests(SystemUnderTestFixture <Ranker> fixture) { _ranker = fixture.SystemUnderTest; }
public TwoCardPokerGameTests(SystemUnderTestFixture <GameServer> fixture) { fixture.RegisterDependency <IValidator <TwoCardPokerGame> >(new TwoCardPokerGameValidator()); fixture.RegisterDependency <IDealer>(new Dealer(new Shuffler(), new Scorer(new Ranker()))); _gameServer = fixture.SystemUnderTest; }
public DealerTests(SystemUnderTestFixture <Dealer> fixture) { _dealer = fixture.SystemUnderTest; }
public ScorerTests(SystemUnderTestFixture <Scorer> fixture) { fixture.RegisterDependency <IRanker>(new Ranker()); _scorer = fixture.SystemUnderTest; }