From 7cc4e03db65ef1299fb27a02090b8f5b2c493ce3 Mon Sep 17 00:00:00 2001 From: Siddharth Vaish Date: Fri, 24 May 2024 12:33:54 +0530 Subject: [PATCH] OZ-476: Refactor test names --- .../test/java/com/ozonehis/eip/utils/ShutdownHandlerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();