@Override
    public AtomicValue<Long> get() throws Exception {
        return new AtomicLong(value.get());
    }
@Test
    public void testCorruptedValue() throws Exception {
        final CuratorFramework client =
                CuratorFrameworkFactory.newClient(server.getConnectString(), new RetryOneTime(1));
        client.start();
        try {
            client.create().forPath("/counter", "foo".getBytes());
            DistributedAtomicLong dal = new DistributedAtomicLong(client, "/counter", new RetryOneTime(1));
            try {
                dal.get().postValue();
            } catch (BufferUnderflowException e) {
                fail("", e);
            } catch (BufferOverflowException e) {
                fail("", e);
            } catch (RuntimeException e) {
                // correct
            }
        } finally {
            client.close();
        }
    }