121314151617181920
import net.flexbencode.bencode.BencodeType; public class BencodeDataTest { @Test public void testIntCreation () { BencodeInt d = BencodeData.createBencodeInt(1L); assertEquals(BencodeType.INT, d.getType()); assertEquals(1L, d.getInt()); }