예제 #1
0
        public void ModelContainerBase_FindsManagedClasses_NotNull()
        {
            var modelContainer = new TestModelContainer();
            var result         = modelContainer.GetAllManagedClasses();

            Assert.IsNotNull(result);
        }
예제 #2
0
        public void ModelContainerBase_FindsManagedClasses_Any()
        {
            var modelContainer = new TestModelContainer();
            var result         = modelContainer.GetAllManagedClasses();

            Assert.IsNotNull(result);
            Assert.AreNotEqual(0, result.Count);
        }
예제 #3
0
        public void ModelContainerBase_FindsManagedClasses_User()
        {
            var modelContainer = new TestModelContainer();
            var result         = modelContainer.GetAllManagedClasses();

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

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