Allows the test framework to reset the lifecycle state and framesEnabled back to their initial values.
@visibleForTesting void resetInternalState() { _lifecycleState = null; _framesEnabled = true; }