Exemplo n.º 1
0
        public void Should_be_able_to_add_hole_statistics()
        {
            var hole = ObjectMother.CreateHole(Int32.MaxValue);

            _holeRepository.Add(hole);

            var holeStatistics = ObjectMother.CreateHoleStatistics(hole);

            _holeStatisticsRepository.Add(holeStatistics);

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