ru.yandex.qatools.camelot.test.TestHelper Maven / Gradle / Ivy
The newest version!
package ru.yandex.qatools.camelot.test;
import ru.yandex.qatools.camelot.config.Plugin;
import java.util.Map;
/**
* @author Ilya Sadykov (mailto: [email protected])
* @author Innokenty Shuvalov (mailto: [email protected])
*/
public interface TestHelper {
void sendTo(Class pluginClass, Object event);
void sendTo(String pluginId, Object event);
void sendTo(Class pluginClass, Object event, Map headers);
void sendTo(Class pluginClass, Object event, String header, Object headerValue);
void sendTo(String pluginId, Object event, Map headers);
void sendTo(String pluginId, Object event, String header, Object headerValue);
void send(Object event);
void send(Object event, Map headers);
void send(Object event, String header, Object headerValue);
void invokeTimersFor(Class pluginClass);
void invokeTimersFor(String pluginId);
void invokeTimers(Plugin plugin);
void invokeTimerFor(Class pluginClass, String method);
void invokeTimerFor(String pluginId, String method);
void invokeTimer(Plugin plugin, String method);
}