resetOnDestroy
Resets the number of received onDestroy lifecycle events.
Call this method before expectOnDestroy to ensure only future onDestroy lifecycle events are counted.
Resets the number of received onDestroy lifecycle events.
Call this method before expectOnDestroy to ensure only future onDestroy lifecycle events are counted.