AbstractDataSource implements DataSource, Serializable { @Override public String getName() { return name; } AbstractDataSource();  AbstractDataSource(String name, Class<? extends Comparable<?>>... types);  AbstractDataSource(Class<? extends Comparable<?>>... types);  AbstractDataSource(Column... remainingColumns); Statistics getStatistics(); DataSource getColumnStatistics(String key); DataSource getRowStatistics(String key); void addDataListener(DataListener dataListener); void removeDataListener(DataListener dataListener); Iterator<Comparable<?>> iterator(); @Override Column<?> getColumn(int col); @Override String getName(); @Override Record getRecord(int row); int getColumnCount(); Class<? extends Comparable<?>>[] getColumnTypes(); boolean isColumnNumeric(int columnIndex); Row getRow(int row);  }
@Test public void testGetName() { assertEquals(null, source.getName()); source = new StubAbstractDataSource("name"); assertEquals("name", source.getName()); }