示例#1
0
  @Test
  public void notCheckSum() {
    value.setString("FOO");

    exception.expect(FIXValueFormatException.class);

    value.asCheckSum();
  }
示例#2
0
  @Test
  public void asCheckSum() throws FIXValueOverflowException {
    get("064\u0001");

    assertEquals(64, value.asCheckSum());
  }