package liquibase.database.core

import liquibase.sdk.database.MockDatabase
import liquibase.structure.core.Catalog
import spock.lang.Specification

class MockDatabaseTest extends Specification {

    def correctObjectName() {
        expect:
        def database = new MockDatabase();
        database.correctObjectName("lowercase", Catalog.class) == "lowercasE"
        database.correctObjectName("UPPERCASE", Catalog.class) == "uppercasE"
        database.correctObjectName("MixEdCasE", Catalog.class) == "mixedcasE"
    }
}
