         XCTAssertFalse(vc.validate(), "Fields are not equal")
     }
 
+    
+    func testValidator5() {
+        let alwaysNil1 = CustomControlNil()
+        let alwaysNil2 = CustomControlNil()
+        vc.addValidatorEqualTo(toControl: alwaysNil1, errorPlaceholder: placeholder, errorMessage: "ERROR", compareWithControl: alwaysNil2)
+        
+        XCTAssert(vc.validate(), "Fields are not equal")
+        
+        alwaysNil1.returnNil = false
+        XCTAssertFalse(vc.validate(), "Fields are equal")
+        
+        alwaysNil1.returnNil = true
+        alwaysNil2.returnNil = false
+        XCTAssertFalse(vc.validate(), "Fields are equal")
+    }
     
     
     func testCondition0() {

        return value
    }
}

        super.tearDown()
    }
    
    func testRetNil() {
        let control = CustomControlNil()
        XCTAssertNil(control.getValue())
        
        control.returnNil = true
        XCTAssertNil(control.getValue())

        control.returnNil = false
        XCTAssertNotNil(control.getValue())
    }
    
    
    func testValidator0() {
        vc.addValidatorEqualTo(toControl: textField1, errorPlaceholder: placeholder, errorMessage: "ERROR", compareWithControl: textField2)
