Class ProductPageRedirectSupplierTest

java.lang.Object
de.hybris.platform.cmsoccaddon.redirect.suppliers.impl.ProductPageRedirectSupplierTest

@UnitTest public class ProductPageRedirectSupplierTest extends Object
  • Constructor Details

    • ProductPageRedirectSupplierTest

      public ProductPageRedirectSupplierTest()
  • Method Details

    • setup

      public void setup()
    • shouldRedirectWhenPageTypeAndCodeAreNull

      public void shouldRedirectWhenPageTypeAndCodeAreNull()
    • shouldNotRedirectForProductPageAndCodeEqualsPreviewProductCode

      public void shouldNotRedirectForProductPageAndCodeEqualsPreviewProductCode()
    • shouldRedirectForNonProductPage

      public void shouldRedirectForNonProductPage()
    • shouldRedirectForProductPageAndCodeNotEqualsPreviewProductCode

      public void shouldRedirectForProductPageAndCodeNotEqualsPreviewProductCode()
    • shouldPopulateAllParams

      public void shouldPopulateAllParams()
    • shouldPopulatePathParamsWhenProductCodeIsNull

      public void shouldPopulatePathParamsWhenProductCodeIsNull()
    • shouldNotPopulatePathParamsWhenCategoryCodeIsNullAndPreviewPageIdIsNull

      public void shouldNotPopulatePathParamsWhenCategoryCodeIsNullAndPreviewPageIdIsNull()
    • shouldRedirectUrlWithQueryParams

      public void shouldRedirectUrlWithQueryParams()
    • shouldRedirectUrlWithPathParam

      public void shouldRedirectUrlWithPathParam()
    • shouldRedirectUrlWithoutPathParamForNonPagesEndpoint

      public void shouldRedirectUrlWithoutPathParamForNonPagesEndpoint()
    • createParamData

      protected RequestParamData createParamData()