### Question:
ComponentPropertyPainter { public <T extends Component> ComponentArray<T> addComponentArray(String propertyName) { final ComponentArray<T> array = new ComponentArray<T>(parent, "$" + propertyName); properties.add(array); return array; } ComponentPropertyPainter(Component parent); Set<ComponentProperty> getComponentProperties(); ComponentReference<T> addProperty(String propertyName); ComponentArray<T> addComponentArray(String propertyName); ComponentList<T> addComponentList(String propertyName); void paintContent(PaintTarget target);  }### Answer:
@Test public void test_registersNewPaintableArrayPropertyWith$PrefixedName() { final ComponentArray<Component> paintableArray = componentPropertyPainter.addComponentArray("propertyName"); assertEquals("$" + "propertyName", paintableArray.getTagName()); }