Example #1
0
        public void WhenNewActivityLogIsCreated()
        {
            ScenarioContext.Current.Should().ContainKey("playerId");
            var playerId = ScenarioContext.Current.Get <Guid>("playerId");

            var @event = new DepositSubmitted
            {
                PlayerId = playerId,
                Amount   = 1
            };

            PlayerHelper.AddActivityLog("Deposit submitted", @event, playerId, string.Empty, string.Empty);
        }