@Test
public void testGetColumn() {

    DbColumnMetadata c1 = new DbColumnMetadata("c1", Types.INTEGER, false, false);
    DbColumnMetadata c2 = new DbColumnMetadata("c2", Types.VARCHAR, false, false);
    DbTableMetadata md = new DbTableMetadata(TableFQName.forName("x"), new DbColumnMetadata[]{c1, c2});
    assertSame(c1, md.getColumn("c1"));
    assertSame(c2, md.getColumn("c2"));
}