@Test
public void testEmptyByteArray() throws Exception {
Store<ByteArray, byte[], byte[]> store = getStore();
Versioned<byte[]> bytes = new Versioned<byte[]>(new byte[0]);
store.put(new ByteArray(new byte[0]), bytes, null);
List<Versioned<byte[]>> found = store.get(new ByteArray(new byte[0]), null);
assertEquals("Incorrect number of results.", 1, found.size());
assertEquals("Get doesn't equal put.", bytes, found.get(0));
}