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

        let expectation = expectationWithDescription("async test")
        var finished = 0
        let count = 512
        var set1: NSMutableSet!
        var set2: NSMutableSet!

        dispatch_async(queue) { [weak expectation] in
            set1 = self.getSet(count)

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