public void VisitApplicationBindingAppliesEnvironmentOverrides()
        {
            using (new DeploymentContextInjectionScope(targetEnvironment: "ANYWHERE"))
            {
                var applicationBindingMock = new Mock <IApplicationBinding <string> >();
                applicationBindingMock.As <ISupportValidation>();
                var environmentSensitiveApplicationBindingMock = applicationBindingMock.As <ISupportEnvironmentOverride>();

                var sut = new EnvironmentOverrideApplicator();
                sut.VisitApplicationBinding(applicationBindingMock.Object);

                environmentSensitiveApplicationBindingMock.Verify(m => m.ApplyEnvironmentOverrides("ANYWHERE"), Times.Once);
            }
        }