Example #1
0
 public void Cleanup()
 {
     ScenarioContext.Current.TryGetValue("resourceModel", out IResourceModel resourceModel);
     if (resourceModel != null)
     {
         environmentModel.ResourceRepository.DeleteResource(resourceModel);
         environmentModel.ResourceRepository.DeleteResourceFromWorkspace(resourceModel);
     }
     declaredDependency?.Dispose();
 }
 public void Cleanup() => _containerOps?.Dispose();
 public void DisposeContainer() => _containerOps?.Dispose();
Example #4
0
 public static void CleanupContainer() => _containerOps?.Dispose();
Example #5
0
 public void CleanUp()
 {
     CleanupForTimeOutSpecs();
     _containerOps?.Dispose();
 }
 public static void StopRemoteContainer() => _containerOps?.Dispose();
Example #7
0
 public void MyTestCleanup() => _dependency.Dispose();