CreatePlayerStatistics() public static méthode

public static CreatePlayerStatistics ( BolfTracker.Models.Player player ) : BolfTracker.Models.PlayerStatistics
player BolfTracker.Models.Player
Résultat BolfTracker.Models.PlayerStatistics
        public void Should_be_able_to_add_player_statistics()
        {
            var player = ObjectMother.CreatePlayer();

            _playerRepository.Add(player);

            var playerStatistics = ObjectMother.CreatePlayerStatistics(player);

            _playerStatisticsRepository.Add(playerStatistics);

            Assert.AreNotEqual(0, playerStatistics.Id);
        }