LogDirectory { public static String gradleDockerLogsDirectory(Class<?> testClass) { return "build/dockerLogs/" + testClass.getSimpleName(); } private  LogDirectory(); static String circleAwareLogDirectory(Class<?> testClass); static String circleAwareLogDirectory(String logDirectoryName); static String gradleDockerLogsDirectory(Class<?> testClass);  }
@Test public void gradleDockerLogsDirectory_should_use_class_simple_name() { String directory = LogDirectory.gradleDockerLogsDirectory(SomeTestClass.class); assertThat(directory, is("build/dockerLogs/SomeTestClass")); }