public static void ClassCleanup() { if (service != null) { service.Dispose(); service = null; } foreach (Action a in EndTestAction) { try { a.Invoke(); } catch { } } EndTestAction.Clear(); }
public static void ClassInitialize(TestContext testContext) { service = new TestService(typeof(TestCustomerDataService)); }