private ModuleContainer(IChanceModule chanceModule, ICountModule countModule, IDecisionModule decisionModule, IPayoutModule payoutModule) { _chanceModule = chanceModule; _countModule = countModule; _decisionModule = decisionModule; _payoutModule = payoutModule; }
public void TestInit() { _deck = _DECK_BUILDER .ConsistsOfDecks(_NUMBER_OF_DECKS) .Build(); _module = _MODULE_FACTORY .NumberOfDecksIs(_NUMBER_OF_DECKS) .GetChanceModule(); }
public IModuleContainerBuilder ChanceModuleIs(IChanceModule chanceModule) { _chanceModule = chanceModule; return this; }
public void TestCleanup() { _deck = null; _module = null; }