File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
quickfixj-core/src/test/java/quickfix Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 134134import quickfix .fix44 .component .Instrument ;
135135import quickfix .fix44 .component .Parties ;
136136import quickfix .fix50 .MarketDataSnapshotFullRefresh ;
137+ import quickfix .fixt11 .TestRequest ;
137138
138139/**
139140 * NOTE: There are two MessageTests. One in quickfixj-base, one in
@@ -1518,6 +1519,15 @@ public void shouldReturnFixSpecificHeader() throws FieldNotFound {
15181519
15191520 order .getHeader ().set (new TargetSubID ("foo" ));
15201521 assertEquals (order .getHeader ().getTargetSubID ().getValue (), "foo" );
1522+
1523+ quickfix .fixlatest .NewOrderSingle fixLatestOrder = new quickfix .fixlatest .NewOrderSingle ();
1524+ assertSame (quickfix .fixlatest .Message .Header .class , fixLatestOrder .getHeader ().getClass ());
1525+
1526+ quickfix .fix50sp1 .NewOrderSingle fix50sp1Order = new quickfix .fix50sp1 .NewOrderSingle ();
1527+ assertSame (quickfix .fix50sp1 .Message .Header .class , fix50sp1Order .getHeader ().getClass ());
1528+
1529+ TestRequest testRequest = new TestRequest ();
1530+ assertSame (quickfix .fixt11 .Message .Header .class , testRequest .getHeader ().getClass ());
15211531 }
15221532
15231533 private void assertHeaderField (Message message , String expectedValue , int field )
You can’t perform that action at this time.
0 commit comments