Example #1
0
        [Ignore] //this test is supposed to fail, to show how to put the data
        public void NotAddedTypeIsNotAvailable()
        {
            var missings = IocTesting.FindMissingRegistrations <IMarker>(IocTest.ConfigureBadCase);

            Assert.IsFalse(missings.Any(), missings.First().ToString());
        }
Example #2
0
        public void AddedTypeIsAvailable()
        {
            var missings = IocTesting.FindMissingRegistrations <IMarker>(IocTest.ConfigureGoodCase);

            Assert.IsFalse(missings.Any());
        }