Beispiel #1
0
        public void EfUnitOfWork_Should_Not_Throw_When_Set_Context()
        {
            var          context    = new Mock <NotebooksDbContext>();
            EfUnitOfWork unitOfWork = new EfUnitOfWork();

            Assert.DoesNotThrow(() => unitOfWork.setContext(context.Object));
        }