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