Class CaptchaValidationInterceptorTest
java.lang.Object
de.hybris.platform.commercewebservicescommons.interceptor.CaptchaValidationInterceptorTest
-
Constructor Summary
Constructors -
Method Summary
-
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
- Throws:
Exception
-
testParameter
public void testParameter()
-