public int getAndInc() {
        return value++;
    }
@Test
    public void testGetAndInc() {
        MutableInteger mutableInteger = new MutableInteger(13);

        assertEquals(13, mutableInteger.getAndInc());
        assertEquals(14, mutableInteger.value);
    }