Ejemplo n.º 1
0
        public void TestLateAdd()
        {
            RepositoryTypeLister testLister = new RepositoryTypeLister();

            testLister.Repository.AddAssembly(typeof(RepositoryTypeListerTest).Assembly);

            Assert.That(
                testLister.GetTypes(),
                Has.Member(typeof(RepositoryTypeListerTest))
                );
        }
Ejemplo n.º 2
0
        public void TestEmptyLister()
        {
            RepositoryTypeLister testLister = new RepositoryTypeLister();

            Assert.That(testLister.GetTypes(), Is.Empty);
        }