### Question:
FileBasedComponent implements DeclaringComponent { @Override public String toString() { return relativeSource() + ":" + (lineNumber + 1); }  static FileBasedComponent fileSource(File file, int lineNumber, boolean yaml,
                                                String configType, String environment); @Override String getComponent(); @Override String toString();  }### Answer:
@Test void string() { assertEquals("../components/comp/config.yaml:1", source.toString()); }