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));
        }
Example #3
0
        public void ItThroesWhenNull()
        {
            DomainObjectLocator sut = GetSut();

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