MySQLXADataSourceDefinition implements XADataSourceDefinition { @Override public Collection<String> getXADriverClassName() { return Arrays.asList("com.mysql.jdbc.jdbc2.optional.MysqlXADataSource", "com.mysql.cj.jdbc.MysqlXADataSource"); }  @Override String getDatabaseType(); @Override Collection<String> getXADriverClassName();  }
@Test public void assertGetXADriverClassName() { assertThat(new MySQLXADataSourceDefinition().getXADriverClassName(), is(Arrays.asList("com.mysql.jdbc.jdbc2.optional.MysqlXADataSource", "com.mysql.cj.jdbc.MysqlXADataSource"))); }