20 package net.sf.gridarta.utils;
22 import org.junit.Assert;
23 import org.junit.Test;
29 @SuppressWarnings(
"FeatureEnvy")
42 Assert.assertEquals(
"hello, foo, bar,\n" +
"buzz", sb.
toString());
44 Assert.assertEquals(
"hello, foo, bar,\n" +
"buzz, 10", sb.
toString());
void testAppend()
Test for WrappingStringBuilder#append(String).
void append(final String str)
Append a word.
String toString()
Return the concatenated words as a string.
Implements a string buffer that separates words by "," and wraps lines at a given margin...
Test for WrappingStringBuilder.