@Test
void aliasMap_shouldThrowOnAliasKeyCollision() {

    
    val aliasMap = _Maps.<String, String>newAliasMap(HashMap::new);
    
    aliasMap.put("key1", Can.ofArray(new String[] {"alias1a", "alias1b"}), "value1");
    
    assertThrows(IllegalArgumentException.class, ()->{
        aliasMap.put("key2", Can.ofArray(new String[] {"alias1a"}), "value2");
    });
    
}