public long getAndIncrement() {
        return getAndAddVal(1L);
    }
@Test
    public void testGetAndIncrement() {
        PaddedAtomicLong counter = new PaddedAtomicLong();

        long value = counter.getAndIncrement();
        assertEquals(0L, value);
        assertEquals(1, counter.get());
    }