Skip to content

Conversation

@MozhganPeivandianSharbaf
Copy link
Contributor

HEAL-87

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive unit tests for the ReviewFragment class in the health SDK module. The ReviewFragment is responsible for displaying invoice pages and payment information extractions, allowing users to review payment details before proceeding with a payment through their selected bank.

Key Changes

  • Added ReviewFragmentTest with 4 test cases covering fragment creation, close button visibility configuration, and document handling
  • Implemented proper mocking setup for dependencies including GiniHealth, PaymentComponent, and GiniInternalPaymentModule
  • Utilized Robolectric and AndroidJUnit4 for Android fragment testing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants