public void VisitSendPortAppliesEnvironmentOverrides()
        {
            using (new DeploymentContextInjectionScope(targetEnvironment: "ANYWHERE"))
            {
                var sendPortMock = new Mock <ISendPort <string> >();
                sendPortMock.As <ISupportValidation>();
                var environmentSensitiveSendPortMock = sendPortMock.As <ISupportEnvironmentOverride>();

                var sut = new EnvironmentOverrideApplicator();
                sut.VisitSendPort(sendPortMock.Object);

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