public virtual void ResolveANotRegisterServiceExpectedNullInstance() { Action action = () => container.GetService(typeof(INotRegisteredService)); action.Should().Throw <ActivationException>(); }