DefaultSequenceMaxValueIncrementerFactory implements DataFieldMaxValueIncrementerFactory { @Override public String[] getSupportedIncrementerTypes() { return delegate.getSupportedIncrementerTypes(); } DefaultSequenceMaxValueIncrementerFactory(DataSource dataSource); void setIncrementerColumnName(String incrementerColumnName); @Override DataFieldMaxValueIncrementer getIncrementer(String incrementerType, String incrementerName); @Override boolean isSupportedIncrementerType(String databaseType); @Override String[] getSupportedIncrementerTypes();  }
@Test public void testGetSupportedIncrementerTypes() throws Exception { String[] actual = sequenceMaxValueIncrementerFactory.getSupportedIncrementerTypes(); String[] expected = new DefaultDataFieldMaxValueIncrementerFactory(dataSource).getSupportedIncrementerTypes(); Assert.assertArrayEquals(expected, actual); }