@Test
 public void testSuccessful() {
   // interval is 50,
   MockCondition tested =
       MockCondition.successAfter(8)
           .withClock(ConditionClocks.forInterval(MockCondition.DEFAULT_INTERVAL));
   assertTrue(tested.by(400));
 }
 @Test
 public void testSuccessfulDefault() {
   // interval is 50,
   MockCondition tested =
       MockCondition.successAfter(10)
           .withClock(ConditionClocks.forInterval(MockCondition.DEFAULT_INTERVAL));
   // default is 500
   assertTrue(tested.byDefaultTimeout());
 }