/** * Creates a new property value from the given byte array. * * @param bytes byte array */ private PropertyValue(byte[] bytes) { setBytes(bytes); }
@Test public void testArrayValueMaxSize() { PropertyValue property = new PropertyValue(); property.setBytes(new byte[PropertyValue.LARGE_PROPERTY_THRESHOLD]); }
@Test public void testLargeArrayValue() { PropertyValue property = new PropertyValue(); property.setBytes(new byte[PropertyValue.LARGE_PROPERTY_THRESHOLD + 1]); }