diff --git a/commons/src/test/java/com/ozonehis/eip/utils/ShutdownHandlerTest.java b/commons/src/test/java/com/ozonehis/eip/utils/ShutdownHandlerTest.java index d39c919..bc9f2ce 100644 --- a/commons/src/test/java/com/ozonehis/eip/utils/ShutdownHandlerTest.java +++ b/commons/src/test/java/com/ozonehis/eip/utils/ShutdownHandlerTest.java @@ -31,7 +31,7 @@ public void setUp() { } @Test - public void testShutdown() { + public void testShutdownCloseApplicationContext() { shutdownHandler.shutdown(); Mockito.verify((ConfigurableApplicationContext) applicationContext, times(1)) @@ -50,7 +50,7 @@ public void testExitApplication() { } @Test - public void testExitApplication_ShuttingDown() { + public void testExitApplicationWhenAlreadyShuttingDown() { ShutdownHandler.shuttingDown = true; ShutdownHandler.exitApplication();