@Test public void testToString() { AntennaCLIOptions options = new AntennaCLIOptions(CONFIG_PATH, PROPERTIES_PATH, true, false, true); String s = options.toString(); assertThat(s).contains("configFilePath='" + options.getConfigFilePath()); assertThat(s).contains("propertiesFilePath='" + options.getPropertiesFilePath()); assertThat(s).contains("debugLog=" + options.isDebugLog()); assertThat(s).contains("showHelp=" + options.isShowHelp()); assertThat(s).contains("valid=" + options.isValid()); }
@Override public String toString() { return "AntennaCLIOptions{" + "configFilePath='" + configFilePath + '\'' + "propertiesFilePath='" + propertiesFilePath + '\'' + ", debugLog=" + debugLog + ", showHelp=" + showHelp + ", valid=" + valid + '}'; }
AntennaCLIOptions extends AbstractAntennaCLIOptions { @Override public String toString() { return "AntennaCLIOptions{" + "configFilePath='" + configFilePath + '\'' + "propertiesFilePath='" + propertiesFilePath + '\'' + ", debugLog=" + debugLog + ", showHelp=" + showHelp + ", valid=" + valid + '}'; } }
AntennaCLIOptions extends AbstractAntennaCLIOptions { @Override public String toString() { return "AntennaCLIOptions{" + "configFilePath='" + configFilePath + '\'' + "propertiesFilePath='" + propertiesFilePath + '\'' + ", debugLog=" + debugLog + ", showHelp=" + showHelp + ", valid=" + valid + '}'; } AntennaCLIOptions(String configFilePath, boolean debugLog, boolean showHelp, boolean valid);   AntennaCLIOptions(String configFilePath,
                      String propertiesFilePath,
                      boolean debugLog,
                      boolean showHelp,
                      boolean valid); }
AntennaCLIOptions extends AbstractAntennaCLIOptions { @Override public String toString() { return "AntennaCLIOptions{" + "configFilePath='" + configFilePath + '\'' + "propertiesFilePath='" + propertiesFilePath + '\'' + ", debugLog=" + debugLog + ", showHelp=" + showHelp + ", valid=" + valid + '}'; } AntennaCLIOptions(String configFilePath, boolean debugLog, boolean showHelp, boolean valid);   AntennaCLIOptions(String configFilePath,
                      String propertiesFilePath,
                      boolean debugLog,
                      boolean showHelp,
                      boolean valid); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
AntennaCLIOptions extends AbstractAntennaCLIOptions { @Override public String toString() { return "AntennaCLIOptions{" + "configFilePath='" + configFilePath + '\'' + "propertiesFilePath='" + propertiesFilePath + '\'' + ", debugLog=" + debugLog + ", showHelp=" + showHelp + ", valid=" + valid + '}'; } AntennaCLIOptions(String configFilePath, boolean debugLog, boolean showHelp, boolean valid);   AntennaCLIOptions(String configFilePath,
                      String propertiesFilePath,
                      boolean debugLog,
                      boolean showHelp,
                      boolean valid); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }