assertThat(FakeMigration.executed).isTrue();
}
@Test
public void should_create_schema_on_h2() throws Exception {
Dialect supportedDialect = new H2();
when(dbClient.database().getDialect()).thenReturn(supportedDialect);
Connection connection = mock(Connection.class);
DbSession session = mock(DbSession.class);
when(session.getConnection()).thenReturn(connection);
when(dbClient.openSession(false)).thenReturn(session);