### Question:
IndexMetadataBuilder { @TimerJ public IndexMetadata build() { return new IndexMetadata(indexName, columns, indexType, options); } IndexMetadataBuilder(String catalogName, String tableName, String indexName, IndexType type); @TimerJ IndexMetadataBuilder withOptions(Map<Selector, Selector> opts); @TimerJ IndexMetadataBuilder withColumns(List<ColumnMetadata> columnsMetadata); @TimerJ IndexMetadataBuilder addColumn(String columnName, ColumnType colType); @TimerJ IndexMetadataBuilder addOption(String option, String value); @TimerJ IndexMetadataBuilder addOption(String option, Integer value); @TimerJ IndexMetadataBuilder addOption(String option, Boolean value); @TimerJ IndexMetadata build();  }### Answer:
@Test public void createMetadataBasicIndexTest() { IndexMetadataBuilder indexMetadataBuilder = new IndexMetadataBuilder(CATALOG, TABLE, INDEX_NAME_DEFAULT, IndexType.DEFAULT); IndexMetadata indexMetadata = indexMetadataBuilder.build(); IndexName indexNameExpected = new IndexName(CATALOG, TABLE, INDEX_NAME_DEFAULT); Assert.assertEquals("The indexName is not the expected", indexNameExpected, indexMetadata.getName()); Assert.assertTrue("There should be no columns", indexMetadata.getColumns().isEmpty()); Assert.assertNull("There should be no options", indexMetadata.getOptions()); Assert.assertEquals("The indexType should be DEFAULT", IndexType.DEFAULT, indexMetadata.getType()); }