philadelphia-core: Add 'FIXValue#reset' tests
@@ -114,6 +114,14 @@ class FIXValueTest {
assertArrayEquals(new byte[] { '1', '2', '3', 0, 0, 0 }, dst);
}
+ @Test
+ void reset() {
+ value.setString("FOO");
+ value.reset();
+
+ assertEquals(0, value.length());
+ }
+
@Test
void setWithoutOffset() {
FIXValue anotherValue = new FIXValue(32);
