File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
quickfixj-core/src/test/java/quickfix Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2424import static org .junit .Assert .assertNotEquals ;
2525import static org .junit .Assert .assertNotNull ;
2626import static org .junit .Assert .assertNull ;
27+ import static org .junit .Assert .assertSame ;
2728import static org .junit .Assert .assertTrue ;
2829import static org .junit .Assert .fail ;
2930
@@ -1510,9 +1511,12 @@ public void testFirstFieldInGroupIsDelimiter() throws Exception {
15101511 }
15111512
15121513 @ Test
1513- public void shouldReturnFixSpecificHeader () {
1514+ public void shouldReturnFixSpecificHeader () throws FieldNotFound {
15141515 NewOrderSingle order = new NewOrderSingle ();
1515- assertEquals (quickfix .fix42 .Message .Header .class , order .getHeader ().getClass ());
1516+ assertSame (quickfix .fix42 .Message .Header .class , order .getHeader ().getClass ());
1517+
1518+ order .set (new Signature ("foo" ));
1519+ assertEquals (order .getSignature ().getValue (), "foo" );
15161520 }
15171521
15181522 private void assertHeaderField (Message message , String expectedValue , int field )
You can’t perform that action at this time.
0 commit comments