Пример #1
0
 public FakeOperationsState(string instanceName, string operationName, FakeTestComponents componentsSetup, Maybe <OperationContext> runningOperationContext)
 {
     _instanceName            = instanceName;
     _operationName           = operationName;
     _componentsSetup         = componentsSetup;
     _runningOperationContext = runningOperationContext;
 }
Пример #2
0
 public ComponentBasedTestToolDriver()
 {
     _instanceFactory   = Substitute.For <TestComponentInstanceFactory>();
     ComponentInstances = new FakeComponentInstances(_fakeComponentInstances);
     ComponentsSetup    = new FakeTestComponents(_fakeComponentInstances);
 }