MutableCompositeMetaType compositeType = new MutableCompositeMetaType(TestRenamedCompositeItem.class.getName(), TestRenamedCompositeItem.class.getName());
compositeType.addItem("id", "id", SimpleMetaType.STRING);
compositeType.addItem("renamed", "renamed", SimpleMetaType.STRING);
Set<String> keys = Collections.singleton("id");
compositeType.setKeys(keys);
compositeType.freeze();
CompositeValueSupport expected = new CompositeValueSupport(compositeType);
expected.set("id", SimpleValueSupport.wrap("Hello"));
expected.set("renamed", SimpleValueSupport.wrap("Renamed"));