             if finished == 2 {
                 if let expectation = expectation {
                     expectation.fulfill()
-                    XCTAssertFalse(set1.intersectsSet(set2))
+                    XCTAssertTrue(set1.intersect(set2).isEmpty)
                 }
             }
         }

            if finished == 2 {
                if let expectation = expectation {
                    expectation.fulfill()
                    XCTAssertFalse(set1.intersectsSet(set2))
                }
            }
        }

        }
    }

    private func getSet(count: Int) -> Set<String> {
        var set = Set<String>()
        for index in 1...count {
            let value = self.flakeGen.nextStringID()
            set.insert(value)
        }
        return set
    }
