templates.bdd_assertion_entry_point_method_template.txt Maven / Gradle / Ivy
The newest version!
/**
* Creates a new instance of {@link ${custom_assertion_class}}
.
*
* @param actual the actual value.
* @return the created assertion object.
*/
@org.assertj.core.util.CheckReturnValue
public static ${custom_assertion_class} then(${class_to_assert} actual) {
return new ${custom_assertion_class}(actual);
}