@Test
public void testPutByteArrayProperty() {

    WProperties prop = new WProperties();
    byte[] data = new byte[] { 0, 3, 43, 32, 34, 54, 127, 0, (byte) 255 };
    prop.putByteArrayProperty("byte", data); //$NON-NLS-1$
    Assert.assertArrayEquals("different byte data", data, prop.getByteArrayProperty("byte", null)); //$NON-NLS-1$ //$NON-NLS-2$
    prop.putByteArrayProperty("byte", null); //$NON-NLS-1$
    Assert.assertArrayEquals("different byte data", null, prop.getByteArrayProperty("byte", null)); //$NON-NLS-1$ //$NON-NLS-2$
    prop.putByteArrayProperty("byte", new byte[] {}); //$NON-NLS-1$
    Assert.assertArrayEquals("different byte data", null, prop.getByteArrayProperty("byte", null)); //$NON-NLS-1$ //$NON-NLS-2$
}