@Test
public void testIfMessageHeaderIsCreatedWithEveryConstructor() throws Exception {

    final String rawMessage = "8=FIX.4.2\0019=12\00135=A\001108=30\00110=026\001";
    final DataDictionary dataDictionary = new DataDictionary(DataDictionaryTest.getDictionary());
    final Message emptyConstructor = new Message();
    assertNotNull(emptyConstructor.getHeader());
    final Message secondConstructor = new Message(new int[] {});
    assertNotNull(secondConstructor.getHeader());
    final Message thirdConstructor = new Message(rawMessage);
    assertNotNull(thirdConstructor.getHeader());
    final Message fourthConstructor = new Message(rawMessage, false);
    assertNotNull(fourthConstructor.getHeader());
    final Message fifthConstructor = new Message(rawMessage, dataDictionary);
    assertNotNull(fifthConstructor.getHeader());
    final Message sixthConstructor = new Message(rawMessage, dataDictionary, false);
    assertNotNull(sixthConstructor.getHeader());
    final Message seventhConstructor = new Message(rawMessage, dataDictionary, dataDictionary, false);
    assertNotNull(seventhConstructor.getHeader());
}