public long decrementAndGet() {
        return getAndAddVal(-1L) - 1L;
    }
@Test
    public void testDecrementAndGet() {
        PaddedAtomicLong counter = new PaddedAtomicLong();

        long value = counter.decrementAndGet();
        assertEquals(-1, value);
        assertEquals(-1, counter.get());
    }