         
         waitForExpectationsWithTimeout(expectationTimeout, handler: nil)
         
-        XCTAssertFalse(cachedDataExistsWithKey(keyThatShouldBeRemoved), "Cached data shouldn't exist anymore")
-        XCTAssertTrue(cachedDataExistsWithKey(keyThatShouldntBeRemoved), "Cached data shouldn't be removed")
+        XCTAssertFalse(cachedDataExistsForKey(keyThatShouldBeRemoved), "Cached data shouldn't exist anymore")
+        XCTAssertTrue(cachedDataExistsForKey(keyThatShouldntBeRemoved), "Cached data shouldn't be removed")
     }
 }
 


        waitForExpectationsWithTimeout(expectationTimeout, handler: nil)

        XCTAssertFalse(cachedDataExistsWithKey(key), "Cached data shouldn't exist anymore")
    }
    
    func testRemoveDataForKeyRemovesOnlyCachedDataForKey() {

        XCTAssertTrue(fileManager.createFileAtPath(filePath, contents: data, attributes: nil), "Creating cache data failed")
    }

    private func cachedDataExistsForKey(key: String) -> Bool {
        let filePath = diskCache.path.stringByAppendingPathComponent(key)

        return fileManager.fileExistsAtPath(filePath)
