@Test public void putEmpty() { field.setTag(SenderCompID); field.put(buffer); buffer.flip(); assertEquals("", getString(buffer)); }
@Test public void put() { field.setTag(SenderCompID); field.getValue().setString("initiator"); field.put(buffer); buffer.flip(); assertEquals("49=initiator\u0001", getString(buffer)); }