Example #1
0
        public void Repository_CreateParticipant_Successfully()
        {
            // arrange
            var participant = Builder <Participant> .CreateNew().With(x => x.Code = "TestCode").Build();

            // act
            _repo.CreateParticipant(participant);
            Assert.AreEqual(_participants.Count() + 1, _repo.GetParticipants().Count());
        }