@Test
public void testIfMessageHeaderIsOverwritten() {

    final Message fix42Message = new quickfix.fix42.Message();
    assertEquals(quickfix.fix42.Message.Header.class, fix42Message.getHeader().getClass());
    final Message fix44Message = new quickfix.fix44.Message();
    assertEquals(quickfix.fix44.Message.Header.class, fix44Message.getHeader().getClass());
    final Message fix50Message = new quickfix.fix50.Message();
    assertEquals(quickfix.fix50.Message.Header.class, fix50Message.getHeader().getClass());
    final Message fixt11Message = new quickfix.fixt11.Message();
    assertEquals(quickfix.fixt11.Message.Header.class, fixt11Message.getHeader().getClass());
}