AttributeValue implements java.io.Serializable { @Override public String toString() { return "Value: " + getValue() + " Hidden: " + isHidden(); } AttributeValue();  AttributeValue(Object v);  AttributeValue(Object v, boolean h); @Override String toString(); @Override Object clone(); @Override boolean equals(Object obj); @Override int hashCode(); Object getValue(); void setValue(Object value); void setInteger(int value); Integer getInteger(); void setDouble(double value); Double getDouble(); void setString(String value); String getString(); boolean isHidden(); void setHidden(boolean hidden);  }
@Test public void testToString() { System.out.println("toString"); AttributeValue instance = new AttributeValue(); instance.setInteger(42); instance.setHidden(true); String expResult = "Value: 42 Hidden: true"; String result = instance.toString(); assertEquals(expResult, result); }