Exemplo n.º 1
0
        public void LogBrokerDisconnecting_Logged()
        {
            var expectedMessage = "TestBroker disconnecting from message broker...";

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

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