Example #1
0
        public void GetNick_NoEntityInContext_Exception()
        {
            var appContext = Given.AppliationContextProvider();

            Assert.Throws <EntityRepositoryException>(() => appContext.GetNick(typeof(object)), "Entity Object is not registered in factory");
        }