use of org.mockserver.scheduler.Scheduler in project mockserver by mock-server.
the class MockServerMatcherBasicResponsesTest method prepareTestFixture.
@Before
public void prepareTestFixture() {
Scheduler scheduler = mock(Scheduler.class);
WebSocketClientRegistry webSocketClientRegistry = mock(WebSocketClientRegistry.class);
requestMatchers = new RequestMatchers(configuration(), new MockServerLogger(), scheduler, webSocketClientRegistry);
}
use of org.mockserver.scheduler.Scheduler in project mockserver by mock-server.
the class MockServerMatcherClearAndResetTest method prepareTestFixture.
@Before
public void prepareTestFixture() {
configuration = configuration();
mockServerLogger = new MockServerLogger();
WebSocketClientRegistry webSocketClientRegistry = mock(WebSocketClientRegistry.class);
requestMatchers = new RequestMatchers(configuration(), mockServerLogger, new Scheduler(configuration(), mockServerLogger, true), webSocketClientRegistry);
}
use of org.mockserver.scheduler.Scheduler in project mockserver by mock-server.
the class MockServerMatcherNotificationAndMetricsTest method createScheduler.
@BeforeClass
public static void createScheduler() {
mockServerLogger = new MockServerLogger();
scheduler = new Scheduler(configuration(), mockServerLogger);
ConfigurationProperties.metricsEnabled(true);
}
use of org.mockserver.scheduler.Scheduler in project mockserver by mock-server.
the class MockServerMatcherSequentialResponsesTest method prepareTestFixture.
@Before
public void prepareTestFixture() {
MockServerLogger mockLogFormatter = mock(MockServerLogger.class);
Scheduler scheduler = mock(Scheduler.class);
WebSocketClientRegistry webSocketClientRegistry = mock(WebSocketClientRegistry.class);
requestMatchers = new RequestMatchers(configuration(), mockLogFormatter, scheduler, webSocketClientRegistry);
}
use of org.mockserver.scheduler.Scheduler in project mockserver by mock-server.
the class ExpectationFileSystemPersistenceTest method createMockServerMatcher.
@Before
public void createMockServerMatcher() {
mockServerLogger = new MockServerLogger();
requestMatchers = new RequestMatchers(configuration(), mockServerLogger, new Scheduler(configuration(), mockServerLogger), new WebSocketClientRegistry(configuration(), mockServerLogger));
}
Aggregations