Class SessionSearchRestrictionTest
- java.lang.Object
-
- de.hybris.platform.search.restriction.session.SessionSearchRestrictionTest
-
@UnitTest public class SessionSearchRestrictionTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SessionSearchRestrictionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddifferentCodeShouldNotBeEqual()voiddifferentTypeShouldNotBeEqual()voidsameCodeAndTypeShouldBeEqual()voidsetUp()voidshouldCreateSessionSearchRestrictionObject()voidshouldThrowExceptionWhenCodeIsBlank()voidshouldThrowExceptionWhenCodeIsNull()voidshouldThrowExceptionWhenQueryIsBlank()voidshouldThrowExceptionWhenQueryIsNull()voidshouldThrowExceptionWhenRestrictedTypeIsNull()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowExceptionWhenCodeIsBlank
public void shouldThrowExceptionWhenCodeIsBlank()
-
shouldThrowExceptionWhenCodeIsNull
public void shouldThrowExceptionWhenCodeIsNull()
-
shouldThrowExceptionWhenQueryIsBlank
public void shouldThrowExceptionWhenQueryIsBlank()
-
shouldThrowExceptionWhenQueryIsNull
public void shouldThrowExceptionWhenQueryIsNull()
-
shouldThrowExceptionWhenRestrictedTypeIsNull
public void shouldThrowExceptionWhenRestrictedTypeIsNull()
-
shouldCreateSessionSearchRestrictionObject
public void shouldCreateSessionSearchRestrictionObject()
-
sameCodeAndTypeShouldBeEqual
public void sameCodeAndTypeShouldBeEqual()
-
differentCodeShouldNotBeEqual
public void differentCodeShouldNotBeEqual()
-
differentTypeShouldNotBeEqual
public void differentTypeShouldNotBeEqual()
-
-