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)); }
public void ItThroesWhenNull() { DomainObjectLocator sut = GetSut(); Assert.Throws <ArgumentNullException>(() => sut.ResolveDomainObjects(null)); }