public void TestHangBeforeExitDoesNotThrowException()
 {
     Assertions.DoesNotThrow <NullReferenceException>(() => MainEntry.HangBeforeExit());
 }