protected void getValues(Object object, Object[] values) {
values = (Object[]) object;
}
};
encoded = s.encode(new Object[] { new byte[] { 0x01 } });
assertTrue("Encoded integer:", Arrays.equals(expectedArray, encoded));
}
/**
* Tests encoding optional fields