Class CaptchaValidationInterceptorTest

java.lang.Object
de.hybris.platform.commercewebservicescommons.interceptor.CaptchaValidationInterceptorTest

@UnitTest public class CaptchaValidationInterceptorTest extends Object
  • Constructor Details

    • CaptchaValidationInterceptorTest

      public CaptchaValidationInterceptorTest()
  • Method Details

    • setUp

      public void setUp()
    • testMethodWithAnnotationShouldSuccessWhenSiteHasMultipleStoreAndAllOfThemEnabledSwitch

      public void testMethodWithAnnotationShouldSuccessWhenSiteHasMultipleStoreAndAllOfThemEnabledSwitch() throws Exception
      Throws:
      Exception
    • testMethodWithAnnotationShouldSuccessWhenSiteHasMultipleStoreAndOneOfThemEnabledSwitch

      public void testMethodWithAnnotationShouldSuccessWhenSiteHasMultipleStoreAndOneOfThemEnabledSwitch() throws Exception
      Throws:
      Exception
    • testMethodWithAnnotationShouldDoNothingWhenCaptchaCheckEnabledIsFalse

      public void testMethodWithAnnotationShouldDoNothingWhenCaptchaCheckEnabledIsFalse() throws Exception
      Throws:
      Exception
    • testMethodWithAnnotationShouldThrowCaptchaTokenMissingExceptionWhenHeaderIsNull

      public void testMethodWithAnnotationShouldThrowCaptchaTokenMissingExceptionWhenHeaderIsNull() throws Exception
      Throws:
      Exception
    • testMethodWithAnnotationShouldThrowCaptchaValidationExceptionWhenHeaderIsInvalid

      public void testMethodWithAnnotationShouldThrowCaptchaValidationExceptionWhenHeaderIsInvalid() throws Exception
      Throws:
      Exception
    • testMethodWithoutAnnotationShouldDoNothing

      public void testMethodWithoutAnnotationShouldDoNothing() throws Exception
      Throws:
      Exception
    • testParameter

      public void testParameter()