//ensure we can deserialize the rmd bean
{
FileInputStream fis = new FileInputStream(resourceDir + File.separator + rmdDatFileName);
ObjectInputStream rmdBeanData = new ObjectInputStream(fis);
RMDBean bean = (RMDBean)rmdBeanData.readObject();
assertTrue(bean.match(expectedRMDBean));
}
//ensure we can deserialize the msg ctx
{
FileInputStream fis = new FileInputStream(resourceDir + File.separator + msgCtxDatFileName);