public void Aspects_ShouldNotBeAppliedAgainstAbstractServices() { Container.Abstract <IMyService>(); Assert.That(Container.Get <IMyService>().Factory, Is.Null); }
public void Container_Abstract_ShouldBeNullChecked() { Assert.Throws <ArgumentNullException>(() => IServiceContainerBasicExtensions.Abstract(null, typeof(IDisposable))); Assert.Throws <ArgumentNullException>(() => Container.Abstract(null)); }