Skip to content

Commit

Permalink
Spotless fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishSiddharth committed May 24, 2024
1 parent 2406f64 commit 9a867f1
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
/*
* Copyright © 2021, Ozone HIS <info@ozone-his.com>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.ozonehis.eip.utils;

import static org.mockito.Mockito.*;

import org.junit.jupiter.api.*;
import org.mockito.Mockito;
import org.slf4j.Logger;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;

import static org.mockito.Mockito.*;

public class ShutdownHandlerTest {

private ShutdownHandler shutdownHandler;
Expand All @@ -27,7 +34,8 @@ public void setUp() {
public void testShutdown() {
shutdownHandler.shutdown();

Mockito.verify((ConfigurableApplicationContext) applicationContext, times(1)).close();
Mockito.verify((ConfigurableApplicationContext) applicationContext, times(1))
.close();
}

@Test
Expand Down

0 comments on commit 9a867f1

Please sign in to comment.