Esempio n. 1
0
 public PlayerHandFactoryModelValidationUnitTests()
 {
     // Arrange
     _showDownSettings = new ShowdownSettings {
         HandSize = 5
     };
     _validator = new PlayerHandFactoryModelValidation(_showDownSettings);
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="simpleValidation"></param>
 /// <param name="cardFactory"></param>
 public PlayerHandFactory(ISimpleValidation <PlayerHandFactoryModel> simpleValidation, ICardFactory cardFactory)
 {
     _simpleValidation = simpleValidation;
     _cardFactory      = cardFactory;
 }