Skip to content

Commit fcc69e3

Browse files
committed
Added Utf8StringTest.
1 parent ced0303 commit fcc69e3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.web3j.abi.datatypes;
2+
3+
4+
import org.junit.Test;
5+
6+
import static org.hamcrest.core.Is.is;
7+
import static org.junit.Assert.assertThat;
8+
9+
10+
public class Utf8StringTest {
11+
12+
@Test
13+
public void testToString() {
14+
assertThat(new Utf8String("").toString(), is(""));
15+
assertThat(new Utf8String("string").toString(), is("string"));
16+
}
17+
}

0 commit comments

Comments
 (0)