/**
* Sets up test environment
- *
+ *
*/
@Before
public void setUp() {
}
/**
- *
+ *
*/
@Test
public void testDecode() {
}
/**
- *
+ *
*/
@Test
public void testDecodeDeserializeException() {
try {
ofDecoder.decode(mockChHndlrCtx, inMsg, outList);
} catch (Exception e) {
- System.out.println("a");
Assert.fail();
}
// Verify that the message buf was released...
assertEquals( 0, outList.size() ) ;
- assertEquals( 1, writeObj.refCnt() ) ;
+ assertEquals( 0, writeObj.refCnt() ) ;
}
/**
- *
+ *
*/
@Test
public void testDecodeDeserializeNull() {
// Verify that the message buf was released...
assertEquals( 0, outList.size() ) ;
- assertEquals( 1, writeObj.refCnt() ) ;
+ assertEquals( 0, writeObj.refCnt() ) ;
}
}