Example #1
0
        public void InitializeValidator()
        {
            var originalGroup = this.AddFavorite(NameValidatorTestLab <IFavorite> .ORIGINAL_NAME);
            var validator     = new FavoriteNameValidator(this.Persistence);

            this.testLab = new NameValidatorTestLab <IFavorite>(validator, originalGroup, FavoriteNameValidator.NOT_UNIQUE);
        }
        public void InitializeValidator()
        {
            var originalGroup = this.AddNewGroup(NameValidatorTestLab <IGroup> .ORIGINAL_NAME);
            var validator     = new GroupNameValidator(this.Persistence);

            this.testLab = new NameValidatorTestLab <IGroup>(validator, originalGroup, GroupNameValidator.NOT_UNIQUE);
        }