@Test
public void testFixtMessageCrackingWithSessionDefaultApplVerID() throws Exception {

    quickfix.fix44.Email message = createFix44Email();
    stub(mockSession.getTargetDefaultApplicationVersionID()).toReturn(
            new ApplVerID(ApplVerID.FIX44));
    MessageCracker cracker = new MessageCracker() {
        @SuppressWarnings("unused")
        public void onMessage(quickfix.fix44.Email email, SessionID sessionID) {
            messageCracked++;
        }
    };
    cracker.crack(message, new SessionID(FixVersions.BEGINSTRING_FIXT11, "SENDER", "TARGET"));
    assertTrue(messageCracked > 0);
}