function testGetIndices() {
  var schema = lf.testing.getSchemaBuilder().getSchema();
  var table = schema.table('tableA');

  var idIndices = table.id.getIndices();
  assertEquals(1, idIndices.length);
  assertEquals(table.id.getName(), idIndices[0].columns[0].schema.getName());

  var nameIndices = table.name.getIndices();
  assertEquals(1, nameIndices.length);
  assertEquals(
      table.name.getName(),
      nameIndices[0].columns[0].schema.getName());
}
Tests the case where indices exist for a given column.