use of com.hotels.styx.startup.StyxServerComponents.LoggingSetUp in project styx by ExpediaGroup.
the class StyxServerComponentsTest method setsUpLoggingOnBuild.
@Test
public void setsUpLoggingOnBuild() {
LoggingSetUp loggingSetUp = mock(LoggingSetUp.class);
new StyxServerComponents.Builder().registry(new MicrometerRegistry(new CompositeMeterRegistry())).styxConfig(new StyxConfig()).loggingSetUp(loggingSetUp).build();
verify(loggingSetUp).setUp(any(Environment.class));
}
Aggregations