Beispiel #1
0
        public void Setup()
        {
            // model
            _carEquipment      = new CarEquipment();
            _carProfile        = new CarProfile();
            _dayThatIsRented   = new DayThatIsRented();
            _possibleToRentDay = new PossibleToRentDay();
            _message           = new Message();
            _messagesWithUsers = new MessagesWithUsers();
            _user = new User();

            //security
            _carAgeValidator        = new CarAgeValidator();
            _emailValidator         = new EmailValidator();
            _licensePlateValidator  = new LicensePlateValidator();
            _nameValidator          = new NameValidator();
            _passwordMatchValidator = new PasswordMatchValidator();
            _passwordValidator      = new PasswordValidator();
            _priceValidator         = new PriceValidator();
        }
Beispiel #2
0
 public void Setup()
 {
     _uut = new PasswordMatchValidator();
 }