* @author Lukas Krejci
*/
public class RunDiscoveryExecutor implements PluginContainerOperation {
public static RunDiscovery getRunDiscoveryForTest(TestEvent event) {
RunDiscovery runDiscovery = event.getTestMethod().getAnnotation(RunDiscovery.class);
if (runDiscovery == null) {
runDiscovery = event.getTestClass().getAnnotation(RunDiscovery.class);
}