Class AbstractAssertWithOrigin<E extends AbstractAssertWithOrigin<E,O>,O extends Origin>

java.lang.Object
org.assertj.db.global.AbstractElement<E>
org.assertj.db.api.AbstractAssert<E>
org.assertj.db.api.AbstractAssertWithOrigin<E,O>
Type Parameters:
E - The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.
O - The type of the assertion class of Origin.
All Implemented Interfaces:
org.assertj.core.api.Descriptable<E>
Direct Known Subclasses:
AbstractAssertWithOriginWithChanges, AbstractAssertWithOriginWithColumnsAndRows, ChangesAssert

public abstract class AbstractAssertWithOrigin<E extends AbstractAssertWithOrigin<E,O>,O extends Origin> extends AbstractAssert<E>
Base class for all assertions with an Origin.
Author:
Régis Pouiller
  • Field Details

    • origin

      protected final O extends Origin origin
      The assertion of origin.
  • Method Details

    • returnToOrigin

      protected O returnToOrigin()
      Returns the assertion of origin (an instance of a sub-class of Origin.
      Returns:
      The assertion of origin.