org.test4j.module.spec.internal.IGiven Maven / Gradle / Ivy
package org.test4j.module.spec.internal;
import org.test4j.functions.SExecutor;
/**
* IGiven
*
* @author wudarui
*/
@SuppressWarnings({"unused"})
public interface IGiven extends IAroundInitial, IWhen {
/**
* 前置条件
*
* @param description description
* @param lambda lambda
* @return ignore
* @throws RuntimeException RuntimeException
*/
IGiven given(String description, SExecutor lambda) throws RuntimeException;
/**
* 前置条件
*
* @param lambda lambda
* @return ignore
*/
IGiven given(SExecutor lambda) throws RuntimeException;
}