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

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy