         future.onSuccess {_ in
             onSuccessExpectation.fulfill()
             let discoveredServices = peripheral.services
-            XCTAssert(discoveredServices.count == 2, "Peripheral service count invalid")
+            XCTAssertEqual(discoveredServices.count, 2, "Peripheral service count invalid")
             XCTAssert(mockPeripheral.discoverServicesCalled, "CBPeripheral#discoverServices not called")
         }
         future.onFailure {error in

        }
        future.onFailure {error in
            onFailureExpectation.fulfill()
            XCTAssert(error.domain == BCError.domain, "message domain invalid")
            XCTAssert(error.code == PeripheralError.NoServices.rawValue, "message code invalid")
        }
        peripheral.didDiscoverServices([], error:nil)
        waitForExpectationsWithTimeout(20) {error in

        }
        future.onFailure {error in
            onFailureExpectation.fulfill()
            XCTAssertEqual(error.code, TestFailure.error.code, "Error code invalid")
            XCTAssert(mockPeripheral.discoverServicesCalled, "CBPeripheral#discoverServices not called")
        }
        peripheral.didDiscoverServices(self.mockServices, error:TestFailure.error)
