/// <summary>
 /// Creates a new test run builder.
 /// </summary>
 /// <param name="factory"></param>
 /// <param name="testRun"></param>
 internal TestRunBuilder(CoreFactory factory, TestRun testRun)
 {
     this.factory         = factory;
     this.capabilityCache = factory.CreateCapabilityCache();
     this.featureCache    = factory.CreateFeatureCache();
     this.TestRun         = testRun;
 }
 public TestRunBuilder(CoreFactory factory, TestRun testRun)
 {
     this.factory = factory;
     areaCache = factory.CreateAreaCache();
     featureCache = factory.CreateFeatureCache();
     testRunInitializer = factory.CreateTestRunInitializer();
     TestRun = testRun;
 }