             XCTAssertFalse(self.checkActivityViewAppeared())
         }
     }
-    
-    func testNonZeroMinimumDisplayTime() {
+
+    func xtestNonZeroMinimumDisplayTime() {
         let activityData = createActivityData(displayTimeThreshold: 0,
-                                                   minimumDisplayTime: 100)
-        
+                                              minimumDisplayTime: 100)
+
         XCTAssertFalse(checkActivityViewAppeared())
         NVActivityIndicatorPresenter.sharedInstance.startAnimating(activityData)
         doAfter(approximateZero) {

                            minimumDisplayTime: minimumDisplayTime,
                            textColor: nil)
    }
    
    func checkActivityViewAppeared() -> Bool {
        for item in UIApplication.shared.keyWindow!.subviews
            where item.restorationIdentifier == "NVActivityIndicatorViewContainer" {
                return true
        }
        
        return false
    }
    
    func doAfter(_ after: Int64, thing: @escaping () -> Void) {
        let expectation = self.expectation(description: "")
        
        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(NSEC_PER_MSEC * UInt64(after)) / Double(NSEC_PER_SEC)) {
            thing()
            expectation.fulfill()
        }

            XCTAssertFalse(self.checkActivityViewAppeared())
        }
    }

    func xtestNonZeroDisplayTimeThreshold() {
        let activityData = createActivityData(displayTimeThreshold: 100,
                                              minimumDisplayTime: 0)

        XCTAssertFalse(checkActivityViewAppeared())
        NVActivityIndicatorPresenter.sharedInstance.startAnimating(activityData)
        doAfter(50) {
            XCTAssertFalse(self.checkActivityViewAppeared())
            NVActivityIndicatorPresenter.sharedInstance.stopAnimating()
        }

        XCTAssertFalse(checkActivityViewAppeared())
        NVActivityIndicatorPresenter.sharedInstance.startAnimating(activityData)
        doAfter(150) {
