Added comment on LANG-727

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2011-08-02 06:14:57 +00:00
parent 656312f90a
commit 9908144874
1 changed files with 1 additions and 0 deletions

View File

@ -303,6 +303,7 @@ public class ToStringBuilderTest extends TestCase {
List<Object> base = new ArrayList<Object>();
String baseStr = this.toBaseString(base);
// Lots of contains methods so we're not making assumptions about the order of ArrayList [LANG-727].
String result = ToStringBuilder.reflectionToString(base, null, true);
assertTrue( StringUtils.startsWith(result, baseStr + "[") );
assertTrue( StringUtils.contains(result, "elementData={<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>}" ) );