def METHOD_NAME(self, name, timer_after_action):
    w = DeferWaiter()
    times = []
    def action():
        times.append(round(self.reactor.seconds(), 1))
    h = RepeatedActionHandler(self.reactor, w, 1, action,
                              start_timer_after_action_completes=timer_after_action)
    h.start()
    self.reactor.pump([0.1] * 35)
    self.assertEqual(times, [1.1, 2.1, 3.1])
    h.stop()
    d = w.wait()
    self.assertTrue(d.called)
    yield d