Class CategoryRemovalValidatorTest
- java.lang.Object
-
- de.hybris.platform.category.interceptors.CategoryRemovalValidatorTest
-
@UnitTest public class CategoryRemovalValidatorTest extends java.lang.Object
Test forCategoryRemovalValidator.
-
-
Constructor Summary
Constructors Constructor Description CategoryRemovalValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldNotThrowInterceptorExceptionWhenCategoryHasSubcategoriesButSessionKeyIsTrue()voidshouldNotThrowInterceptorExceptionWhenCategoryIsLeaf()voidshouldThrowInterceptorExceptionWhenCategoryHasSubcategories()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowInterceptorExceptionWhenCategoryHasSubcategories
public void shouldThrowInterceptorExceptionWhenCategoryHasSubcategories()
-
shouldNotThrowInterceptorExceptionWhenCategoryIsLeaf
public void shouldNotThrowInterceptorExceptionWhenCategoryIsLeaf()
-
shouldNotThrowInterceptorExceptionWhenCategoryHasSubcategoriesButSessionKeyIsTrue
public void shouldNotThrowInterceptorExceptionWhenCategoryHasSubcategoriesButSessionKeyIsTrue()
-
-