Class TicketAdaptersBindingTest

java.lang.Object
com.example.breeze_seas.TicketAdaptersBindingTest

public class TicketAdaptersBindingTest extends Object
Binding tests for the ticket-related adapters used by the Tickets feature.

These tests verify the presentation copy, status chips, visibility rules, and click callbacks for the Active, Attending, and Past ticket cards.

  • Constructor Details

    • TicketAdaptersBindingTest

      public TicketAdaptersBindingTest()
  • Method Details

    • activeTicketsAdapter_bindsWaitingTicketCopyAndDispatchesClicks

      public void activeTicketsAdapter_bindsWaitingTicketCopyAndDispatchesClicks()
      Verifies that a waiting active ticket binds the expected title, date, helper copy, and click callback.
    • activeTicketsAdapter_bindsPrivateInvitationVariant

      public void activeTicketsAdapter_bindsPrivateInvitationVariant()
      Verifies that a private event invitation uses the private-invite copy and highlights the action-required indicator.
    • attendingTicketsAdapter_bindsConfirmedTicketAndDispatchesClicks

      public void attendingTicketsAdapter_bindsConfirmedTicketAndDispatchesClicks()
      Verifies that a confirmed attending ticket binds its title, date, location, status, and click callback.
    • attendingTicketsAdapter_hidesLocationWhenTheLabelIsBlank

      public void attendingTicketsAdapter_hidesLocationWhenTheLabelIsBlank()
      Verifies that attending tickets hide the optional location label when the mapped value is blank.
    • pastTicketsAdapter_bindsArchivedTicketContentAndDispatchesClicks

      public void pastTicketsAdapter_bindsArchivedTicketContentAndDispatchesClicks()
      Verifies that an archived past-event card binds its summary fields and dispatches the bound event when tapped.