public void Should_call_configuration_with_instance_from_factory()
        {
            // Given
            INancyEnvironment passedEnvironmentInstance = null;

            Action <INancyEnvironment> configuration = env =>
            {
                passedEnvironmentInstance = env;
            };

            // When
            this.configurator.ConfigureEnvironment(configuration);

            // Then
            passedEnvironmentInstance.ShouldBeSameAs(this.environment);
        }