### Question:
ComponentsImpl implements Components { @Override public String toString() { return components.toString(); }  @Override List<Component> asList(); @Override Properties getPropertiesFor(ConfigTypeFilter configType); @Override String toString();  }### Answer:
@Test void string() { when(one.toString()).thenReturn("one"); when(two.toString()).thenReturn("two"); assertEquals("[one, two]", subj.toString()); }