Search in sources :

Example 1 with PreparedStatementFactory

use of liquibase.database.PreparedStatementFactory in project liquibase by liquibase.

the class UpdateExecutablePreparedStatementTest method setUp.

@Before
public void setUp() throws Exception {
    initMocks(this);
    given(connection.prepareStatement(anyString())).willReturn(ps);
    database = new MSSQLDatabase();
    preparedStatementFactory = new PreparedStatementFactory(connection);
}
Also used : PreparedStatementFactory(liquibase.database.PreparedStatementFactory) MSSQLDatabase(liquibase.database.core.MSSQLDatabase) Before(org.junit.Before)

Aggregations

PreparedStatementFactory (liquibase.database.PreparedStatementFactory)1 MSSQLDatabase (liquibase.database.core.MSSQLDatabase)1 Before (org.junit.Before)1