BoltsTests/AppLinkTests.m [927:946]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                              @{
                                                  @"al:ios" : [NSNull null],
                                                  @"al:ios:url" : @"bolts://",
                                                  @"al:ios:app_name" : @"Bolts",
                                                  @"al:ios:app_store_id" : @"12345"
                                                  }
                                              ]];
    NSURL *url = [self dataUrlForHtml:html];

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

    BFAppLinkNavigationType navigationType = [task.result integerValue];

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

    NSURL *openedUrl = openedUrls.firstObject;
    BFURL *parsedLink = [BFURL URLWithURL:openedUrl];
    XCTAssertEqualObjects(url.absoluteString, parsedLink.targetURL.absoluteString);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



BoltsTests/AppLinkTests.m [988:1007]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                              @{
                                                  @"al:ios" : [NSNull null],
                                                  @"al:ios:url" : @"bolts://",
                                                  @"al:ios:app_name" : @"Bolts",
                                                  @"al:ios:app_store_id" : @"12345"
                                                  }
                                              ]];
    NSURL *url = [self dataUrlForHtml:html];

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

    BFAppLinkNavigationType navigationType = [task.result integerValue];

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

    NSURL *openedUrl = openedUrls.firstObject;
    BFURL *parsedLink = [BFURL URLWithURL:openedUrl];
    XCTAssertEqualObjects(url.absoluteString, parsedLink.targetURL.absoluteString);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



