public with_a_hit_hand_action()
        {
            hand_status_factory = MockRepository.GenerateStub<IHandStatusFactory>();
            annouce_winner_action = MockRepository.GenerateStub<IAnnouceWinnerAction>();
            player_dealers_hand = MockRepository.GenerateStub<IPlayDealersHand>();

            SUT = new Domain.GamePlay.Model.Dealer.Actions.HitHand(hand_status_factory, player_dealers_hand, annouce_winner_action);
        }
 public DealerActionOnPlayersHand(IHandStatusFactory hand_status_factory, 
                                  IPlayDealersHand play_dealers_hand,
                                  IAnnouceWinnerAction annouce_winner_action)
 {
     _hand_status_factory = hand_status_factory;
     _play_dealers_hand = play_dealers_hand;
     _annouce_winner_action = annouce_winner_action;
 }
        public with_a_hit_hand_action()
        {
            hand_status_factory   = MockRepository.GenerateStub <IHandStatusFactory>();
            annouce_winner_action = MockRepository.GenerateStub <IAnnouceWinnerAction>();
            player_dealers_hand   = MockRepository.GenerateStub <IPlayDealersHand>();

            SUT = new Domain.GamePlay.Model.Dealer.Actions.HitHand(hand_status_factory, player_dealers_hand, annouce_winner_action);
        }
Beispiel #4
0
 public DealerActionOnPlayersHand(IHandStatusFactory hand_status_factory,
                                  IPlayDealersHand play_dealers_hand,
                                  IAnnouceWinnerAction annouce_winner_action)
 {
     _hand_status_factory   = hand_status_factory;
     _play_dealers_hand     = play_dealers_hand;
     _annouce_winner_action = annouce_winner_action;
 }
Beispiel #5
0
 public StickHand(IHandStatusFactory hand_status_factory, IPlayDealersHand play_dealers_hand, IAnnouceWinnerAction annouce_winner_action)
     : base(hand_status_factory, play_dealers_hand, annouce_winner_action)
 {
 }
 public StickHand(IHandStatusFactory hand_status_factory, IPlayDealersHand play_dealers_hand, IAnnouceWinnerAction annouce_winner_action)
     : base(hand_status_factory, play_dealers_hand, annouce_winner_action)
 {
 }