Пример #1
0
        public void GetByIdTest()
        {
            IProducerRepository target = new ProducerRepository();
            var fromDb = target.GetById(item.Id);

            Assert.IsNotNull(fromDb);
            Assert.AreNotSame(item, fromDb);
            Assert.AreEqual(item.Nome, fromDb.Nome);
        }