use of org.apache.qpid.server.user.connection.limits.logging.ConnectionLimitEventLogger in project qpid-broker-j by apache.
the class RejectRegistrationTest method setUp.
@Before
public void setUp() {
_eventLogger = Mockito.mock(org.apache.qpid.server.logging.EventLogger.class);
_logger = new ConnectionLimitEventLogger("RejectLogger", () -> _eventLogger);
}
use of org.apache.qpid.server.user.connection.limits.logging.ConnectionLimitEventLogger in project qpid-broker-j by apache.
the class AcceptRegistrationTest method setUp.
@Before
public void setUp() {
_eventLogger = Mockito.mock(org.apache.qpid.server.logging.EventLogger.class);
final EventLoggerProvider provider = () -> _eventLogger;
_logger = new FullConnectionLimitEventLogger("AllLogger", provider);
_rejectLogger = new ConnectionLimitEventLogger("RejectLogger", provider);
_slot = Mockito.mock(ConnectionSlot.class);
}
Aggregations