public void BeginLifetimeScope_WithNullArgument_ThrowsExpectedException()
        {
            // Act
            Action action = () => SimpleInjectorLifetimeScopeExtensions.BeginLifetimeScope(null);

            // Assert
            AssertThat.Throws <ArgumentNullException>(action);
        }
        public void RegisterLifetimeScopeTServiceFunc_WithNullFuncArgument_ThrowsExpectedException()
        {
            // Act
            Action action = () =>
                            SimpleInjectorLifetimeScopeExtensions.RegisterLifetimeScope <ICommand>(new Container(), null);

            // Assert
            AssertThat.Throws <ArgumentNullException>(action);
        }
        public void RegisterLifetimeScopeTServiceTImplementation_WithNullArgument_ThrowsExpectedException()
        {
            // Act
            Action action = () =>
                            SimpleInjectorLifetimeScopeExtensions.RegisterLifetimeScope <ICommand, ConcreteCommand>(null);

            // Assert
            AssertThat.Throws <ArgumentNullException>(action);
        }