|| metadataExtractor.shouldMatchDataSet().isDefinedOn(testMethod);
}
public TestExecutionPhase getCleanupTestPhase()
{
final Cleanup cleanupAnnotation = metadataExtractor.cleanup().fetchUsingFirst(testMethod);
TestExecutionPhase phase = configuration.getDefaultCleanupPhase();
if (cleanupAnnotation != null && !TestExecutionPhase.DEFAULT.equals(cleanupAnnotation.phase()))
{
phase = cleanupAnnotation.phase();
}
return phase;
}