         mockAPIClient = payPalDriver.apiClient as! MockAPIClient
         payPalDriver.returnURLScheme = "foo://"
         BTPayPalDriver.setPayPalClass(FakePayPalOneTouchCore.self)
-        let dummyRequest = BTPayPalCheckoutRequest(amount: "1")!
+        let dummyRequest = BTPayPalCheckoutRequest(amount: "1")
         let expectation = self.expectationWithDescription("Checkout fails with error")
         payPalDriver.checkoutWithCheckoutRequest(dummyRequest) { (_, error) -> Void in
             XCTAssertEqual(error!, self.mockAPIClient.cannedResponseError!)

        mockAPIClient = payPalDriver.apiClient as! MockAPIClient
        BTPayPalDriver.setPayPalClass(FakePayPalOneTouchCore.self)

        let request = BTPayPalCheckoutRequest(amount: "1")!
        let expectation = self.expectationWithDescription("Checkout fails with error")
        payPalDriver.checkoutWithCheckoutRequest(request) { (_, error) -> Void in
            XCTAssertEqual(error!, self.mockAPIClient.cannedConfigurationResponseError!)

        payPalDriver.delegate = delegate
        BTPayPalDriver.setPayPalClass(FakePayPalOneTouchCore.self)

        let request = BTPayPalCheckoutRequest(amount: "1")
        payPalDriver.checkoutWithCheckoutRequest(request) { _ -> Void in }

        self.waitForExpectationsWithTimeout(2, handler: nil)
