All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.custom_abstract_assertion_class_template.txt Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
package ${package};
${imports}
/**
 * Abstract base class for {@link ${class_to_assert}} specific assertions - Generated by CustomAssertionGenerator.
 */
@javax.annotation.Generated(value="assertj-assertions-generator")
public abstract class ${custom_assertion_class}, A extends ${class_to_assert}> extends ${super_assertion_class} {

  /**
   * Creates a new {@link ${custom_assertion_class}} to make assertions on actual ${class_to_assert}.
   * @param actual the ${class_to_assert} we want to make assertions on.
   */
  protected ${custom_assertion_class}(A actual, Class selfType) {
    super(actual, selfType);
  }