Class CustomersControllerIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class CustomersControllerIntegrationTest extends AbstractControllerIntegrationIntegrationTest
  • Field Details

  • Constructor Details

    • CustomersControllerIntegrationTest

      public CustomersControllerIntegrationTest()
  • Method Details

    • getCustomersByUid

      public void getCustomersByUid()
    • getFirstTwoCustomersInDescendingOrderSortedByName

      public void getFirstTwoCustomersInDescendingOrderSortedByName()
    • getCustomerFromThirdPageSortedByUidInAscendingOrder

      public void getCustomerFromThirdPageSortedByUidInAscendingOrder()
    • getCustomersByNotExistingUid

      public void getCustomersByNotExistingUid()
    • shouldGetAllCustomerByEmptyCriteria

      public void shouldGetAllCustomerByEmptyCriteria()
    • shouldGetCustomerWithOrder

      public void shouldGetCustomerWithOrder()
    • shouldGetCustomerEnrichedData

      public void shouldGetCustomerEnrichedData()
    • shouldGetB2BCustomerEnrichedData

      public void shouldGetB2BCustomerEnrichedData()
    • shouldNotGetCustomerWithWrongOrder

      public void shouldNotGetCustomerWithWrongOrder()
    • getCustomersByEmptyQuery

      public void getCustomersByEmptyQuery()
    • shouldNotGetCustomersByUnknownCustomerListId

      public void shouldNotGetCustomersByUnknownCustomerListId()
    • shouldGetCustomersByCustomerListId

      public void shouldGetCustomersByCustomerListId()
    • shouldGetCustomersByCustomerListIdWithPaging

      public void shouldGetCustomersByCustomerListIdWithPaging()
    • shouldGetCustomersByCustomerListIdWithPagingAndSort

      public void shouldGetCustomersByCustomerListIdWithPagingAndSort()
    • getCustomersByNotAsAgent

      public void getCustomersByNotAsAgent()
    • bindAnonymousCartToMissingCustomerTest

      public void bindAnonymousCartToMissingCustomerTest()
    • bindMissingAnonymousCartToCustomerTest

      public void bindMissingAnonymousCartToCustomerTest()
    • bindAnonymousCartToInvalidCustomerTest

      public void bindAnonymousCartToInvalidCustomerTest()
    • bindAnonymousInvalidCartToCustomerTest

      public void bindAnonymousInvalidCartToCustomerTest()
    • bindAnonymousCartToCustomerTest

      public void bindAnonymousCartToCustomerTest()
    • createCustomerWithValidCustomerRegistrationFormTest

      public void createCustomerWithValidCustomerRegistrationFormTest()
    • createCustomersWithGivenLanguageAndCurrencyTest

      public void createCustomersWithGivenLanguageAndCurrencyTest()
    • createCustomerWithBlankAroundRegistrationParamsTest

      public void createCustomerWithBlankAroundRegistrationParamsTest()
    • createCustomerWithInvalidEmailAddressTest

      public void createCustomerWithInvalidEmailAddressTest()
    • createCustomerWithoutFirstNameTest

      public void createCustomerWithoutFirstNameTest()
    • createCustomerWithoutLastNameTest

      public void createCustomerWithoutLastNameTest()
    • createCustomerWithInvalidBaseSiteTest

      public void createCustomerWithInvalidBaseSiteTest()
    • createCustomerWithTokenNotBelongToAgentTest

      public void createCustomerWithTokenNotBelongToAgentTest()
    • performCreateCustomers

      protected javax.ws.rs.core.Response performCreateCustomers(String oauthUserName, String oauthPwd, String baseSite, CustomerRegistrationFormWsDTO customerRegistrationFormWsDTO)
    • performCreateCustomersWithGivenLanguageAndCurrency

      protected javax.ws.rs.core.Response performCreateCustomersWithGivenLanguageAndCurrency(String oauthUserName, String oauthPwd, String baseSite, CustomerRegistrationFormWsDTO customerRegistrationFormWsDTO, String language, String currency)
    • performGetCustomersWithDifferentQueries

      protected javax.ws.rs.core.Response performGetCustomersWithDifferentQueries(Map<String,String> params)
    • performGetCustomersCall

      protected javax.ws.rs.core.Response performGetCustomersCall(String searchCritera, String sort, String pageSize, String currentPage)
    • getCustomerNamesFromResponse

      protected List<String> getCustomerNamesFromResponse(javax.ws.rs.core.Response response)
    • bindAnonymousCartToCustomer

      protected javax.ws.rs.core.Response bindAnonymousCartToCustomer(String cartId, String customerId)