Skip to content

Commit 7665d6c

Browse files
committed
Test toString() ByteArrayDataHandler
1 parent 1870ec2 commit 7665d6c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package test.org.fugerit.java.core.db.dao.daogen;
2+
3+
import lombok.extern.slf4j.Slf4j;
4+
import org.fugerit.java.core.db.dao.DAOException;
5+
import org.fugerit.java.core.db.daogen.ByteArrayDataHandler;
6+
import org.fugerit.java.core.db.daogen.CharArrayDataHandler;
7+
import org.junit.Assert;
8+
import org.junit.Test;
9+
10+
@Slf4j
11+
public class TestByteArrayDataHandler {
12+
13+
@Test
14+
public void testByteArrayDataHandler() throws DAOException {
15+
ByteArrayDataHandler ch = ByteArrayDataHandler.newHandlerByte( "test".getBytes() );
16+
Assert.assertEquals( "test", ch.toString() );
17+
}
18+
19+
}

0 commit comments

Comments
 (0)