@Test
public void testContextMissingStrategyOverrideEnvironmentVariable() {

    environmentVariables.set(ContextMissingStrategy.CONTEXT_MISSING_STRATEGY_ENVIRONMENT_VARIABLE_OVERRIDE_KEY, "log_error");
    AWSXRayRecorder recorder = AWSXRayRecorderBuilder.standard().withContextMissingStrategy(
        new RuntimeErrorContextMissingStrategy()).build();
    Assert.assertTrue(recorder.getContextMissingStrategy() instanceof LogErrorContextMissingStrategy);
    environmentVariables.set(ContextMissingStrategy.CONTEXT_MISSING_STRATEGY_ENVIRONMENT_VARIABLE_OVERRIDE_KEY, null);
}