io.github.bekoenig.assertj.schemacrawler.api.AbstractSynonymAssert Maven / Gradle / Ivy
package io.github.bekoenig.assertj.schemacrawler.api;
import schemacrawler.schema.DatabaseObject;
import schemacrawler.schema.Synonym;
import java.util.function.Consumer;
public abstract class AbstractSynonymAssert>
extends AbstractDatabaseObjectAssert {
protected AbstractSynonymAssert(Synonym actual, Class> selfType) {
super(actual, selfType);
}
public SELF satisfiesReferencedObject(Consumer requirement) {
extracting(Synonym::getReferencedObject).satisfies(requirement);
return myself;
}
}