### Question:
ComponentArray implements ComponentProperty { @Override public void paintContent(PaintTarget target) throws PaintException { target.startTag(tagName); target.addAttribute("type", "Array"); if (components != null) { for (Paintable paintable : components) { paintable.paint(target); } } target.endTag(tagName); } ComponentArray(Component parent, String tagName); Object getTagName(); T[] get(); void set(T[] components); @Override void paintContent(PaintTarget target);  }### Answer:
@Test public void test_paintsNullPaintablesArray() throws PaintException { final PaintTarget target = mock(PaintTarget.class); componentArray.paintContent(target); final InOrder inOrder = inOrder(target); inOrder.verify(target).startTag(tagName); inOrder.verify(target).addAttribute("type", "Array"); inOrder.verify(target).endTag(tagName); }