### Question:
Counter { public boolean isZero() { for (byte b : state) { if (b != 0) { return false; } } return true; } Counter(int bits); void increment(); byte[] getState(); boolean isZero();  }### Answer:
@Test public void shouldBeZero() throws Exception { assertTrue(counter.isZero()); }