// Path: src/main/java/liquibase/ext/ora/createSynonym/CreateSynonymChange.java
// @DatabaseChange(name = "createSynonym", description = "Create synonym", priority = ChangeMetaData.PRIORITY_DEFAULT + 200)
// public class CreateSynonymChange extends AbstractChange {
// 	
// 	private Boolean replace;
// 	private Boolean isPublic;
// 	private String objectName;
// 	private String objectSchemaName;
// 
// 	private String synonymName;
// 	private String synonymSchemaName;
// 
// 	public Boolean isReplace() {
// 		return replace;
// 	}
// 
// 	public void setReplace(Boolean replace) {
// 		this.replace = replace;
// 	}
// 
// 	public Boolean isPublic() {
// 		return isPublic;
// 	}
// 
// 	public void setPublic(Boolean isPublic) {
// 		this.isPublic = isPublic;
// 	}
// 
// 	public String getObjectName() {
// 		return objectName;
// 	}
// 
// 	public void setObjectName(String objectName) {
// 		this.objectName = objectName;
// 	}
// 
// 	public String getObjectSchemaName() {
// 		return objectSchemaName;
// 	}
// 
// 	public void setObjectSchemaName(String objectSchemaName) {
// 		this.objectSchemaName = objectSchemaName;
// 	}
// 
// 	public String getSynonymName() {
// 		return synonymName;
// 	}
// 
// 	public void setSynonymName(String synonymName) {
// 		this.synonymName = synonymName;
// 	}
// 
// 	public String getSynonymSchemaName() {
// 		return synonymSchemaName;
// 	}
// 
// 	public void setSynonymSchemaName(String synonymSchemaName) {
// 		this.synonymSchemaName = synonymSchemaName;
// 	}
// 
//     @Override
//     public String getConfirmationMessage() {
//         return MessageFormat.format("Synonym {0} created", getSynonymName());
//     }
// 
// 	@Override
// 	protected Change[] createInverses() {
// 		DropSynonymChange inverse = new DropSynonymChange();
// 		inverse.setPublic(isPublic());
// 		inverse.setSynonymName(getSynonymName());
// 		inverse.setSynonymSchemaName(getSynonymSchemaName());
// 		return new Change[] { inverse };
// 	}
// 	
// 	@Override
// 	public SqlStatement[] generateStatements(Database database) {
// 		CreateSynonymStatement statement = new CreateSynonymStatement();
// 
// 		statement.setObjectName(getObjectName());
// 		statement.setObjectSchemaName(getObjectSchemaName());
// 		statement.setSynonymName(getSynonymName());
// 		statement.setSynonymSchemaName(getSynonymSchemaName());
// 
// 		statement.setReplace(isReplace());
// 		statement.setPublic(isPublic());
// 		return new SqlStatement[] { statement };
// 	}
// 
// }


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.List;
import liquibase.Contexts;
import liquibase.LabelExpression;
import liquibase.Scope;
import liquibase.change.Change;
import liquibase.change.ChangeFactory;
import liquibase.change.ChangeMetaData;
import liquibase.changelog.ChangeLogParameters;
import liquibase.changelog.ChangeSet;
import liquibase.changelog.DatabaseChangeLog;
import liquibase.database.Database;
import liquibase.database.core.OracleDatabase;
import liquibase.ext.ora.createSynonym.CreateSynonymChange;
import liquibase.ext.ora.createSynonym.CreateSynonymStatement;
import liquibase.ext.ora.testing.BaseTestCase;
import liquibase.parser.ChangeLogParserFactory;
import liquibase.resource.ClassLoaderResourceAccessor;
import liquibase.resource.ResourceAccessor;
import liquibase.sql.Sql;
import liquibase.sqlgenerator.SqlGeneratorFactory;
import liquibase.statement.SqlStatement;
import org.junit.Before;
import org.junit.Test;
package liquibase.ext.ora.synonym.createSynonym;





public class CreateSynonymTest extends BaseTestCase {
	private static final String OBJECT_SCHEMA = "object_schema";
	private static final String OBJECT_NAME = "object";
	private static final String SYNONYM_NAME = "synonym_name";
	private static final String SYNONYM_SCHEMA = "synonym_schema";

	@Before
	public void setUp() throws Exception {
		changeLogFile = "liquibase/ext/ora/synonym/createSynonym/changelog.text.xml";
		connectToDB();
		cleanDB();
	}

	@Test
	public void getChangeMetaData() {
// Path: src/main/java/liquibase/ext/ora/createSynonym/CreateSynonymChange.java
// @DatabaseChange(name = "createSynonym", description = "Create synonym", priority = ChangeMetaData.PRIORITY_DEFAULT + 200)
// public class CreateSynonymChange extends AbstractChange {
// 	
// 	private Boolean replace;
// 	private Boolean isPublic;
// 	private String objectName;
// 	private String objectSchemaName;
// 
// 	private String synonymName;
// 	private String synonymSchemaName;
// 
// 	public Boolean isReplace() {
// 		return replace;
// 	}
// 
// 	public void setReplace(Boolean replace) {
// 		this.replace = replace;
// 	}
// 
// 	public Boolean isPublic() {
// 		return isPublic;
// 	}
// 
// 	public void setPublic(Boolean isPublic) {
// 		this.isPublic = isPublic;
// 	}
// 
// 	public String getObjectName() {
// 		return objectName;
// 	}
// 
// 	public void setObjectName(String objectName) {
// 		this.objectName = objectName;
// 	}
// 
// 	public String getObjectSchemaName() {
// 		return objectSchemaName;
// 	}
// 
// 	public void setObjectSchemaName(String objectSchemaName) {
// 		this.objectSchemaName = objectSchemaName;
// 	}
// 
// 	public String getSynonymName() {
// 		return synonymName;
// 	}
// 
// 	public void setSynonymName(String synonymName) {
// 		this.synonymName = synonymName;
// 	}
// 
// 	public String getSynonymSchemaName() {
// 		return synonymSchemaName;
// 	}
// 
// 	public void setSynonymSchemaName(String synonymSchemaName) {
// 		this.synonymSchemaName = synonymSchemaName;
// 	}
// 
//     @Override
//     public String getConfirmationMessage() {
//         return MessageFormat.format("Synonym {0} created", getSynonymName());
//     }
// 
// 	@Override
// 	protected Change[] createInverses() {
// 		DropSynonymChange inverse = new DropSynonymChange();
// 		inverse.setPublic(isPublic());
// 		inverse.setSynonymName(getSynonymName());
// 		inverse.setSynonymSchemaName(getSynonymSchemaName());
// 		return new Change[] { inverse };
// 	}
// 	
// 	@Override
// 	public SqlStatement[] generateStatements(Database database) {
// 		CreateSynonymStatement statement = new CreateSynonymStatement();
// 
// 		statement.setObjectName(getObjectName());
// 		statement.setObjectSchemaName(getObjectSchemaName());
// 		statement.setSynonymName(getSynonymName());
// 		statement.setSynonymSchemaName(getSynonymSchemaName());
// 
// 		statement.setReplace(isReplace());
// 		statement.setPublic(isPublic());
// 		return new SqlStatement[] { statement };
// 	}
// 
// }


// Path: src/test/java/liquibase/ext/ora/synonym/createSynonym/CreateSynonymTest.java
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.List;
import liquibase.Contexts;
import liquibase.LabelExpression;
import liquibase.Scope;
import liquibase.change.Change;
import liquibase.change.ChangeFactory;
import liquibase.change.ChangeMetaData;
import liquibase.changelog.ChangeLogParameters;
import liquibase.changelog.ChangeSet;
import liquibase.changelog.DatabaseChangeLog;
import liquibase.database.Database;
import liquibase.database.core.OracleDatabase;
import liquibase.ext.ora.createSynonym.CreateSynonymChange;
import liquibase.ext.ora.createSynonym.CreateSynonymStatement;
import liquibase.ext.ora.testing.BaseTestCase;
import liquibase.parser.ChangeLogParserFactory;
import liquibase.resource.ClassLoaderResourceAccessor;
import liquibase.resource.ResourceAccessor;
import liquibase.sql.Sql;
import liquibase.sqlgenerator.SqlGeneratorFactory;
import liquibase.statement.SqlStatement;
import org.junit.Before;
import org.junit.Test;

package liquibase.ext.ora.synonym.createSynonym;





public class CreateSynonymTest extends BaseTestCase {
	private static final String OBJECT_SCHEMA = "object_schema";
	private static final String OBJECT_NAME = "object";
	private static final String SYNONYM_NAME = "synonym_name";
	private static final String SYNONYM_SCHEMA = "synonym_schema";

	@Before
	public void setUp() throws Exception {
		changeLogFile = "liquibase/ext/ora/synonym/createSynonym/changelog.text.xml";
		connectToDB();
		cleanDB();
	}

	@Test
	public void getChangeMetaData() {
		CreateSynonymChange createSynonymChange = new CreateSynonymChange();