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

io.github.bekoenig.assertj.schemacrawler.api.AbstractSchemaAssert Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package io.github.bekoenig.assertj.schemacrawler.api;

import schemacrawler.schema.Schema;

import java.util.function.Predicate;

public abstract class AbstractSchemaAssert<
        SELF extends AbstractSchemaAssert,
        ACTUAL extends Schema>
        extends AbstractNamedObjectWithAttributesAssert {

    protected AbstractSchemaAssert(ACTUAL actual, Class selfType) {
        super(actual, selfType);
    }

    public SELF matchesCatalogName(Predicate predicate) {
        extracting(Schema::getCatalogName).matches(predicate);
        return myself;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy