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);
        }
        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);
        }
Beispiel #3
0
 public PlayDealersHand(ICanHitDealerSpecification can_hit_dealer, IHandStatusFactory hand_status_factory)
 {
     _can_hit_dealer      = can_hit_dealer;
     _hand_status_factory = hand_status_factory;
 }
 public PlayDealersHand(ICanHitDealerSpecification can_hit_dealer, IHandStatusFactory hand_status_factory)
 {
     _can_hit_dealer = can_hit_dealer;
     _hand_status_factory = hand_status_factory;
 }