public void VisitReceiveLocationAppliesEnvironmentOverrides()
        {
            using (new DeploymentContextInjectionScope(targetEnvironment: "ANYWHERE"))
            {
                var receiveLocationMock = new Mock <IReceiveLocation <string> >();
                receiveLocationMock.As <ISupportValidation>();
                var environmentSensitiveReceiveLocationMock = receiveLocationMock.As <ISupportEnvironmentOverride>();

                var sut = new EnvironmentOverrideApplicator();
                sut.VisitReceiveLocation(receiveLocationMock.Object);

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