@Test public void notCheckSum() { value.setString("FOO"); exception.expect(FIXValueFormatException.class); value.asCheckSum(); }
@Test public void asCheckSum() throws FIXValueOverflowException { get("064\u0001"); assertEquals(64, value.asCheckSum()); }