Skip to content

MOBILE-78: Add unit tests for LifecycleManager and MindboxLifecycleInitializer#715

Closed
enotniy wants to merge 1 commit into
feature/MOBILE-78-codefrom
feature/MOBILE-78-tests
Closed

MOBILE-78: Add unit tests for LifecycleManager and MindboxLifecycleInitializer#715
enotniy wants to merge 1 commit into
feature/MOBILE-78-codefrom
feature/MOBILE-78-tests

Conversation

@enotniy
Copy link
Copy Markdown
Collaborator

@enotniy enotniy commented May 18, 2026

…itializer

- LifecycleManagerTest: covers singleton registration, wasReinitialized flag,
  skipNextTrackVisit, isTrackVisitSent, callback dispatch, and activity
  resume/pause state transitions
- MindboxLifecycleInitializerTest: verifies that register() is called during
  startup initialisation and that the instance is set before any Activity
  lifecycle events fire
- MindboxSetupLifecycleManagerTest: covers setupLifecycleManager guard logic
  for first-init vs re-init paths and the NOT_UPDATED TrackVisit fallback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@enotniy enotniy closed this May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant