Beispiel #1
0
        public void LogBrokerConnecting_Logged()
        {
            var expectedMessage = "TestBroker connecting to message broker...";

            _silverbackLogger.LogBrokerConnecting(_serviceProvider.GetRequiredService <TestBroker>());

            _loggerSubstitute.Received(LogLevel.Debug, null, expectedMessage, 1011);
        }