     
     
     func testCondition0() {
-        let validator1 = Validator(control: UITextField(), predicate: { (param1, param2) -> Bool in
-            return true
-        }, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
+        let validator1 = Validator(control: UITextField(), predicate: validatorPredicateTrue, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
         
         vc.add(validator: validator1, condition: { () -> Bool in
             return true


        
        // Third and forth are never executed
        let validator3 = Validator(control: control, predicate: { (param1, param2) -> Bool in
            return true
        }, predicateParameters: [], errorPlaceholder: errorPlaceholder, errorMessage: "")
        vc.add(validator: validator3)
        
        XCTAssertFalse(vc.validate(), "One of the validators return false but form is valid")
        XCTAssertEqual(errorPlaceholder.text ?? "", "V2 ERROR")
        
        
        let validator4 = Validator(control: control, predicate: { (param1, param2) -> Bool in
            return false
        }, predicateParameters: [], errorPlaceholder: errorPlaceholder, errorMessage: "V4 ERROR")
        vc.add(validator: validator4)
        XCTAssertFalse(vc.validate(), "One of the validators return false but form is valid")
        XCTAssertEqual(errorPlaceholder.text ?? "", "V2 ERROR")

    
    
    func testAdd1() {
        let validator = Validator(control: UITextField(), predicate: validatorPredicateFalse, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
        
        vc.add(validator: validator)
        XCTAssertFalse(vc.validate(), "Predicate return true but form is invalid")
