def METHOD_NAME(self):
    status = [
        monit.Status.MISSING,
        monit.Status.DOES_NOT_EXIST,
        monit.Status.INITIALIZING,
        monit.Status.OK.pending(),
        monit.Status.OK
    ]
    with self.patch_status(status) as get_status:
        self.monit.wait_for_monit_to_stop_pending()
        self.assertEqual(get_status.call_count, len(status))