public void TestCleanup() { _simplTestContext = null; _controller.Dispose(); _controller = null; ShimCurrentSubscriber.GetInstance = null; _shimsContext.Dispose(); _shimsContext = null; }
public void TestInitialize() { // Create ShimsContext _shimsContext = ShimsContext.Create(); ShimCurrentSubscriber.GetInstance = () => new ShimCurrentSubscriber(); _controller = DependencyResolver.Current.GetService<ONTController>(); _simplTestContext = new SIMPLTestContext(); }