Ejemplo n.º 1
0
        public void ModelContainerBase_FindsManagedClasses_NotNull()
        {
            var modelContainer = new TestModelContainer();
            var result         = modelContainer.GetAllManagedClasses();

            Assert.IsNotNull(result);
        }
Ejemplo n.º 2
0
        public void ModelContainerBase_FindsManagedClasses_Any()
        {
            var modelContainer = new TestModelContainer();
            var result         = modelContainer.GetAllManagedClasses();

            Assert.IsNotNull(result);
            Assert.AreNotEqual(0, result.Count);
        }
Ejemplo n.º 3
0
        public void ModelContainerBase_FindsManagedClassTypes_User()
        {
            var modelContainer = new TestModelContainer();
            var result         = modelContainer.GetAllManagedClassTypes();

            Assert.IsNotNull(result);
            Assert.AreNotEqual(0, result.Count);

            Assert.AreEqual(result.First(), typeof(Model.Personal.User));
        }