### Question:
DoWhile extends PredicatedLoop { public DoWhile(NullaryProcedure body, NullaryPredicate test) { super(body, test); } DoWhile(NullaryProcedure body, NullaryPredicate test); final void run(); @Override String toString();  }### Answer:
@Test public void testDoWhile() { for(int i=0;i<3;i++){ Counter counter = new Counter(); new DoWhile(counter, new Limit(i)).run(); assertEquals(i+1,counter.count); } }