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