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

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

            Assert.IsNotNull(result);
            Assert.AreNotEqual(0, result.Count);
        }
Exemplo n.º 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));
        }