def METHOD_NAME(self):
    """Register callbacks required for the test"""
    self._error = False
    generator = self.rtc_reset_test()
    next(generator)
    def run_gen(key, value, time):
        """Run the generator, and fail testing if the iterator stops"""
        if self._error:
            return
        try:
            generator.send((key, value, time))
        except StopIteration:
            self._error = True
    for resp in ("start", "read", "ack"):
        self.register_callback(resp, run_gen)