Skip to content

Commit

Permalink
OZ-476: Refactor test names
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishSiddharth committed May 24, 2024
1 parent 9a867f1 commit 7cc4e03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void setUp() {
}

@Test
public void testShutdown() {
public void testShutdownCloseApplicationContext() {
shutdownHandler.shutdown();

Mockito.verify((ConfigurableApplicationContext) applicationContext, times(1))
Expand All @@ -50,7 +50,7 @@ public void testExitApplication() {
}

@Test
public void testExitApplication_ShuttingDown() {
public void testExitApplicationWhenAlreadyShuttingDown() {
ShutdownHandler.shuttingDown = true;

ShutdownHandler.exitApplication();
Expand Down

0 comments on commit 7cc4e03

Please sign in to comment.