@Test
public void circleAwareLogDirectory_should_use_circle_environment_variable_if_available() {

    variablesRule.set("CIRCLE_ARTIFACTS", "/tmp/circle-artifacts.g4DjuuD");
    String directory = LogDirectory.circleAwareLogDirectory(SomeTestClass.class);
    assertThat(directory, is("/tmp/circle-artifacts.g4DjuuD/dockerLogs/SomeTestClass"));
}