public void Test_RemoveExceptionHandling_ShouldRemoveExceptionHandling() { //---------------Set up test pack------------------- var unhandledExceptionHelper = new UnhandledExceptionHelperWin(); //---------------Assert Precondition---------------- Assert.IsTrue(unhandledExceptionHelper.IsExceptionHandlingActive); //---------------Execute Test ---------------------- unhandledExceptionHelper.RemoveExceptionHandling(); //---------------Test Result ----------------------- Assert.IsFalse(unhandledExceptionHelper.IsExceptionHandlingActive); }
public void Test_RemoveExceptionHandling_ShouldRemoveExceptionHandling() { //---------------Set up test pack------------------- var unhandledExceptionHelper = new UnhandledExceptionHelperWin(); //---------------Assert Precondition---------------- Assert.IsTrue(unhandledExceptionHelper.IsExceptionHandlingActive); //---------------Execute Test ---------------------- unhandledExceptionHelper.RemoveExceptionHandling(); //---------------Test Result ----------------------- Assert.IsFalse(unhandledExceptionHelper.IsExceptionHandlingActive); }