### Question:
DefaultComponentInfo implements ComponentInfo { public List<UIComponent> getComponents() { return this.components; } DefaultComponentInfo(FacesContext context, List<UIComponent> components); UIComponent getComponent(); List<UIComponent> getComponents(); boolean isValid(); boolean isRequired(); String getLabel(); String getFor();  }### Answer:
@Test public void shouldGetComponents() throws Exception { List<UIComponent> components = createComponents(3); ComponentInfo info = new DefaultComponentInfo(this.context, components); assertThat(info.getComponents(), is(components)); }