private String getDefaultFileName(Method testMethod) { if (metadataExtractor.using(annotation).isDefinedOn(testMethod)) { return strategy.createFileName(metadataExtractor.getJavaClass(), testMethod); } return strategy.createFileName(metadataExtractor.getJavaClass()); }
@Override protected String defaultFileName() { String defaultFileName = strategy.createFileName(metadataExtractor.getJavaClass()); return defaultFileName; }