text: /*
   * Copyright (c) Meta Platforms, Inc. and affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  #import <Foundation/Foundation.h>
  
  #import <FBControlCore/FBControlCore.h>
  
  NS_ASSUME_NONNULL_BEGIN
  
  @class FBTestManagerContext;
  
  @protocol XCTestManager_IDEInterface;
  
  /**
   A Strategy for Connecting.
   */
  @interface FBTestBundleConnection : NSObject
  
  #pragma mark Initializers
  
  /**
   Constructs a Test Bundle Connection and runs the test plan to completion
  
   @param context the Context of the Test Manager.
   @param target the iOS Target.
   @param interface the interface to delegate to.
   @param testHostApplication the hosting
   @param requestQueue the queue for asynchronous deliver.
   @param logger the Logger to Log to.
   @return a Future that resolves successfully when the test plan has completed.
   */
  + (FBFuture<NSNull *> *)connectAndRunBundleToCompletionWithContext:(FBTestManagerContext *)context target:(id<FBiOSTarget, FBXCTestExtendedCommands>)target interface:(id<XCTestManager_IDEInterface, NSObject>)interface testHostApplication:(id<FBLaunchedApplication>)testHostApplication requestQueue:(dispatch_queue_t)requestQueue logger:(nullable id<FBControlCoreLogger>)logger;
  
  @end
  
  NS_ASSUME_NONNULL_END
  