@Test(expected = IllegalArgumentException.class)
public void invalidSetClassToIdMapNotUniqueAlias() {

    Map<Class<?>, String> map = new HashMap<Class<?>, String>();
    map.put(ClassAliasIdResolverTest.class, "cairt");
    map.put(Object.class, "cairt");
    builder.setClassToId(map);
}