return metadataExtractor.shouldMatchDataSet().fetchUsingFirst(testMethod);
}
private String getDefaultFileName(Method testMethod)
{
Format format = configuration.getDefaultDataSetFormat();
if (metadataExtractor.shouldMatchDataSet().isDefinedOn(testMethod))
{
return new ExpectedDataSetFileNamingStrategy(format).createFileName(metadataExtractor.getJavaClass(), testMethod);
}