コード例 #1
0
        public with_the_PlayDealersHandAction()
        {
            can_hit_dealer_spec = MockRepository.GenerateStub <ICanHitDealerSpecification>();
            hand_status_factory = MockRepository.GenerateStub <IHandStatusFactory>();

            SUT = new PlayDealersHand(can_hit_dealer_spec, hand_status_factory);
        }
コード例 #2
0
        public with_the_PlayDealersHandAction()
        {
            can_hit_dealer_spec = MockRepository.GenerateStub<ICanHitDealerSpecification>();            
            hand_status_factory = MockRepository.GenerateStub<IHandStatusFactory>();

            SUT = new PlayDealersHand(can_hit_dealer_spec, hand_status_factory);
        }
コード例 #3
0
 public PlayDealersHand(ICanHitDealerSpecification can_hit_dealer, IHandStatusFactory hand_status_factory)
 {
     _can_hit_dealer      = can_hit_dealer;
     _hand_status_factory = hand_status_factory;
 }
コード例 #4
0
 public PlayDealersHand(ICanHitDealerSpecification can_hit_dealer, IHandStatusFactory hand_status_factory)
 {
     _can_hit_dealer = can_hit_dealer;
     _hand_status_factory = hand_status_factory;
 }