public long addAndGet(long delta) {
        return getAndAddVal( delta) + delta;
    }
@Test
    public void testAddAndGet() {
        PaddedAtomicLong counter = new PaddedAtomicLong();

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