@Test
public void testidBySeparator() {

    assertThat(CubeSupport.idBySeparator(SECTOR_REGION, ".", "id")).satisfies(o -> {
        assertThat(o.defaultValue()).isEqualTo(SECTOR_REGION);
        assertThat(o.get(DataSet.builder(dataSource, DataSet.Kind.COLLECTION).put("id", "industry").build())).isEqualTo(INDUSTRY);
        assertThat(o.get(DataSet.builder(dataSource, DataSet.Kind.SERIES).put("id", "industry.be").build())).isEqualTo(INDUSTRY_BE);
    });
}