Class TicketsControllerTest

java.lang.Object
de.hybris.platform.customerticketingocc.controllers.TicketsControllerTest

@UnitTest public class TicketsControllerTest extends Object
  • Constructor Details

    • TicketsControllerTest

      public TicketsControllerTest()
  • Method Details

    • testGetTickets

      public void testGetTickets()
    • testGetTicket

      public void testGetTicket()
    • testGetTicketNotFound

      public void testGetTicketNotFound()
    • testGetTicketNotFound_withException

      public void testGetTicketNotFound_withException()
    • testCreateTicket

      public void testCreateTicket()
    • testCreateTicketFailWithRunTimeError

      public void testCreateTicketFailWithRunTimeError()
    • testCreateTicketFailWithUnknownIdentifierError

      public void testCreateTicketFailWithUnknownIdentifierError()
    • testCreateTicketFailWithValidationError

      public void testCreateTicketFailWithValidationError()
    • testCreateTicketWhenValidationFailed

      public void testCreateTicketWhenValidationFailed()
    • testCreateTicketEventWithStatus

      public void testCreateTicketEventWithStatus()
    • testCreateTicketEventWithoutStatus

      public void testCreateTicketEventWithoutStatus()
    • testCreateTicketEventWithoutStatusAndTicketDoesNotExist

      public void testCreateTicketEventWithoutStatusAndTicketDoesNotExist()
    • testCreateTicketEventWhenUpdateTicketFailed

      public void testCreateTicketEventWhenUpdateTicketFailed()
    • testCreateTicketEventWhenNewStateIsNotAllowed

      public void testCreateTicketEventWhenNewStateIsNotAllowed()
    • testCreateTicketEventWhenValidationFailed

      public void testCreateTicketEventWhenValidationFailed()
    • testGetTicketCategories

      public void testGetTicketCategories()
    • testGetTicketAssociatedObjects

      public void testGetTicketAssociatedObjects()
    • shouldCreateAnAttachmentInATicket

      public void shouldCreateAnAttachmentInATicket()
    • shouldRetrieveTicketEventAttachment

      public void shouldRetrieveTicketEventAttachment()
    • shouldNotExceedTheNumberOfAllowedAttachments

      public void shouldNotExceedTheNumberOfAllowedAttachments()
    • shouldFailCreatingATicketWhenTicketIdIsNull

      public void shouldFailCreatingATicketWhenTicketIdIsNull()
    • shouldFailCreatingATicketWhenEventIdIsNull

      public void shouldFailCreatingATicketWhenEventIdIsNull()
    • shouldFailCreatingATicketWhenAttachmentIsNull

      public void shouldFailCreatingATicketWhenAttachmentIsNull()