private IEnumerable <Type> Resolve()
        {
            DomainObjectLocator sut = GetSut();

            var asm = new List <Assembly>()
            {
                typeof(FakeObject).GetTypeInfo().Assembly
            };

            return(sut.ResolveDomainObjects(asm));
        }
        private IEnumerable <Type> Resolve()
        {
            DomainObjectLocator sut = GetSut();

            return(sut.ResolveDomainObjects(typeof(FakeObject).GetTypeInfo().Assembly));
        }
Beispiel #3
0
        public void ItThroesWhenNull()
        {
            DomainObjectLocator sut = GetSut();

            Assert.Throws <ArgumentNullException>(() => sut.ResolveDomainObjects(null));
        }