예제 #1
0
 @Test
 public void readPartial() throws FIXValueOverflowException {
   assertEquals(false, value.get(ByteBuffers.wrap("foo")));
 }
예제 #2
0
 private void get(String s) throws FIXValueOverflowException {
   value.get(ByteBuffers.wrap(s));
 }
예제 #3
0
  @Test
  public void readOverflow() throws FIXValueOverflowException {
    exception.expect(FIXValueOverflowException.class);

    value.get(ByteBuffers.wrap("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"));
  }