@Test public void testToString() throws Exception { System.setProperty("propertyPlaceholderConfigurerModel.strOne", "system_strOne"); PropertyPlaceholderConfigurerModel model = getBean(PropertyPlaceholderConfigurerModel.class); System.out.println(PrintUtil.formatTestResult(model)); }
@Override public String toString() { return "PropertyPlaceholderConfigurerModel{" + "intOne=" + intOne + ", booleanOne=" + booleanOne + ", floatOne=" + floatOne + ", strOne='" + strOne + '\'' + '}'; }
PropertyPlaceholderConfigurerModel { @Override public String toString() { return "PropertyPlaceholderConfigurerModel{" + "intOne=" + intOne + ", booleanOne=" + booleanOne + ", floatOne=" + floatOne + ", strOne='" + strOne + '\'' + '}'; } }
PropertyPlaceholderConfigurerModel { @Override public String toString() { return "PropertyPlaceholderConfigurerModel{" + "intOne=" + intOne + ", booleanOne=" + booleanOne + ", floatOne=" + floatOne + ", strOne='" + strOne + '\'' + '}'; }  }
PropertyPlaceholderConfigurerModel { @Override public String toString() { return "PropertyPlaceholderConfigurerModel{" + "intOne=" + intOne + ", booleanOne=" + booleanOne + ", floatOne=" + floatOne + ", strOne='" + strOne + '\'' + '}'; }  void setIntOne(int intOne); void setBooleanOne(boolean booleanOne); void setFloatOne(float floatOne); @SuppressWarnings("unused") void setStrOne(String strOne); @Override String toString(); }
PropertyPlaceholderConfigurerModel { @Override public String toString() { return "PropertyPlaceholderConfigurerModel{" + "intOne=" + intOne + ", booleanOne=" + booleanOne + ", floatOne=" + floatOne + ", strOne='" + strOne + '\'' + '}'; }  void setIntOne(int intOne); void setBooleanOne(boolean booleanOne); void setFloatOne(float floatOne); @SuppressWarnings("unused") void setStrOne(String strOne); @Override String toString();  }