コード例 #1
0
ファイル: FSDMsgTest.java プロジェクト: nachmadi/jPOS
 @Test
 public void testGetHeader() throws Throwable {
   FSDMsg fSDMsg = new FSDMsg("testFSDMsgBasePath", "testFSDMsgBaseSchema");
   byte[] h = new byte[2];
   fSDMsg.setHeader(h);
   byte[] result = fSDMsg.getHeader();
   assertSame("result", h, result);
   assertEquals("h[0]", (byte) 0, h[0]);
 }