internal void InitializeSafe(TestContext context) { using (context.ApplyingContext()) { try { Initialize(context); } catch (Exception ex) { _initializeError = ex; } } }
internal void BeforeExecutingSafe(TestContext context) { using (context.ApplyingContext()) { BeforeExecuting(context); } }