コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }