Skip to content

Commit

Permalink
Added Utf8StringTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
conor10 committed Nov 29, 2016
1 parent ced0303 commit fcc69e3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/test/java/org/web3j/abi/datatypes/Utf8StringTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package org.web3j.abi.datatypes;


import org.junit.Test;

import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;


public class Utf8StringTest {

@Test
public void testToString() {
assertThat(new Utf8String("").toString(), is(""));
assertThat(new Utf8String("string").toString(), is("string"));
}
}

0 comments on commit fcc69e3

Please sign in to comment.