void checkAfterUnmarshalled(){
  assertEquals(shortVal.shortValue(),0x1122);
  assertEquals(longVal,0x8877665544332211L);
  assertNull(aArr);
  assertNull(strVal);
  assertEquals(doubleVal,123.456);
}

void checkAfterUnmarshalled ( ) { assertEquals ( shortVal . shortValue ( ) , 0x1122 ) ; assertEquals ( longVal , 0x8877665544332211L ) ; assertNull ( aArr ) ; assertNull ( strVal ) ; assertEquals ( doubleVal , 123.456 ) ; }
checks correctness of the state after unmarshalling .
