use of com.amazon.dataprepper.pipeline.server.ShutdownHandler in project data-prepper by opensearch-project.
the class DataPrepperServerConfigurationTest method testShutdownHandlerIsCreated.
@Test
public void testShutdownHandlerIsCreated() {
final DataPrepper dataPrepper = mock(DataPrepper.class);
final ShutdownHandler handler = serverConfiguration.shutdownHandler(dataPrepper);
assertThat(handler, isA(ShutdownHandler.class));
}
Aggregations