### Question:
Counter extends AtomicInteger { public void increment() { incrementAndGet(); }  void increment();  }### Answer:
@Test public void increment() { Counter counter = new Counter(); counter.increment(); assertEquals(counter.get(), 1); }