BoltsTests/AppLinkTests.m [1036:1053]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                  @"al:web:url" : @"http://www.example.com"
                                                  }
                                              ]];
    NSURL *url = [self dataUrlForHtml:html];

    BFTask *task = [BFAppLinkNavigation navigateToURLInBackground:url];
    [self waitForTaskOnMainThread:task];

    BFAppLinkNavigationType navigationType = [task.result integerValue];

    XCTAssertEqual(navigationType, BFAppLinkNavigationTypeBrowser);
    XCTAssertEqual((NSUInteger)1, openedUrls.count);

    NSURL *openedUrl = openedUrls.firstObject;
    BFURL *parsedUrl = [BFURL URLWithURL:openedUrl];
    XCTAssertEqualObjects(url, parsedUrl.targetURL);
    XCTAssertTrue([openedUrl.absoluteString hasPrefix:@"http://www.example.com?"]);
    XCTAssertNotNil(parsedUrl.appLinkData);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



BoltsTests/AppLinkTests.m [1059:1076]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                  @"al:web:url" : @"http://www.example.com"
                                                  }
                                              ]];
    NSURL *url = [self dataUrlForHtml:html];

    BFTask *task = [BFAppLinkNavigation navigateToURLInBackground:url];
    [self waitForTaskOnMainThread:task];

    BFAppLinkNavigationType navigationType = [task.result integerValue];

    XCTAssertEqual(navigationType, BFAppLinkNavigationTypeBrowser);
    XCTAssertEqual((NSUInteger)1, openedUrls.count);

    NSURL *openedUrl = openedUrls.firstObject;
    BFURL *parsedUrl = [BFURL URLWithURL:openedUrl];
    XCTAssertEqualObjects(url, parsedUrl.targetURL);
    XCTAssertTrue([openedUrl.absoluteString hasPrefix:@"http://www.example.com?"]);
    XCTAssertNotNil(parsedUrl.appLinkData);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



