         .hasAttribute("xctest", value: true)
         .hasSources(["tulsi_test/test/configTestSource.m"])
   }
-
-  // MARK: - Private methods
-  private func makeAspectWorkspaceInfoExtractor() {
-    aspectWorkspaceInfoExtractor = BazelAspectInfoExtractor(bazelURL: bazelURL,
-                                                            workspaceRootURL: workspaceRootURL!,
-                                                            packagePathFetcher: packagePathFetcher,
-                                                            localizedMessageLogger: localizedMessageLogger,
-                                                            bazelStartupOptions: bazelStartupOptions,
-                                                            bazelBuildOptions: bazelBuildOptions)
-  }
-
 
   private class InfoChecker {
     let ruleEntries: [BuildLabel: RuleEntry]


  func testComplexSingle_DefaultConfig() {
    installBUILDFile("ComplexSingle", inSubdirectory: "tulsi_test")
    let applicationRuleEntry = RuleEntry(label: "//tulsi_test:Application", type: "ios_application")
    let testRuleEntry = RuleEntry(label: "//tulsi_test:XCTest", type: "ios_test")

    let ruleEntries = aspectWorkspaceInfoExtractor.extractInfoForTargetLabels([applicationRuleEntry,
                                                                               testRuleEntry])
    XCTAssertEqual(ruleEntries.count, 4)

    let checker = InfoChecker(ruleEntries: ruleEntries)

  }

  func testComplexSingle_ConfigTestEnabled() {
    bazelBuildOptions.append("--define=TEST=1")

    installBUILDFile("ComplexSingle", inSubdirectory: "tulsi_test")
    let ruleEntries = aspectInfoExtractor.extractInfoForTargetLabels(["//tulsi_test:XCTest"],
                                                                     startupOptions: bazelStartupOptions,
                                                                     buildOptions: bazelBuildOptions)
    XCTAssertEqual(ruleEntries.count, 4)

    let checker = InfoChecker(ruleEntries: ruleEntries)
