예제 #1
0
        public void Add_A_Info_When_Partial_Populated_Should_Be_Three()
        {
            fixture.PopulatePartial();
            var repository = new InfoRepository(fixture.context);

            repository.Add(InfoEntityTypeConfiguration.InfoSeed.ElementAt(3));
            var count = repository.Get().Count();

            Assert.Equal(3, count);
        }