* @param activity the client activity to execute
* @return {@link WarpActivityBuilder} instance
*/
public static WarpExecutionBuilder initiate(Activity activity) {
WarpRuntime runtime = WarpRuntime.getInstance();
if (runtime == null) {
throw new IllegalStateException(
"The Warp runtime isn't initialized. You need to make sure arquillian-warp-impl is on classpath and annotate a test class with @WarpTest in order to initialize Warp.");
}
return runtime.getWarpActivityBuilder().initiate(activity);
}