BusinessLogic.Tests.UnitTests.LogicTests.PlayedGamesTests.PlayedGameSaverTests.CreatePlayedGameTests.It_Send_PlayedGameCreatedEvent C# (CSharp) Метод

It_Send_PlayedGameCreatedEvent() приватный Метод

private It_Send_PlayedGameCreatedEvent ( ) : void
Результат void
        public void It_Send_PlayedGameCreatedEvent()
        {
            autoMocker.ClassUnderTest.CreatePlayedGame(CreateValidNewlyCompletedGame(), TransactionSource.WebApplication, currentUser);

            autoMocker.Get<IBusinessLogicEventBus>().AssertWasCalled(mock => mock.SendEvent(Arg<IBusinessLogicEvent>.Matches(m => m.GetType() == typeof(PlayedGameCreatedEvent))));
        }