Class DefaultABTestServiceTest
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.services.impl.DefaultABTestServiceTest
-
@UnitTest public class DefaultABTestServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultABTestServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldReturnComponentWithoutTouchingSessionWhenScopeIsRequest()voidshouldReturnComponentWithTouchingSessionWhenScopeIsSession()voidshouldReturnEmptyCollectionWhenRandomComponentHasBeenNotFound()voidshouldReturnNullWhenSimpleCMSComponentsAreEmpty()voidshouldReturnNullWhenSimpleCMSComponentsAreNull()voidshouldReturnSingleElementCollectionWhenRandomComponentHasBeenFound()voidshouldReturnZeroIndexComponentWithoutTouchingSessionWhenScopeIsNull()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnNullWhenSimpleCMSComponentsAreNull
public void shouldReturnNullWhenSimpleCMSComponentsAreNull()
-
shouldReturnNullWhenSimpleCMSComponentsAreEmpty
public void shouldReturnNullWhenSimpleCMSComponentsAreEmpty()
-
shouldReturnComponentWithoutTouchingSessionWhenScopeIsRequest
public void shouldReturnComponentWithoutTouchingSessionWhenScopeIsRequest()
-
shouldReturnComponentWithTouchingSessionWhenScopeIsSession
public void shouldReturnComponentWithTouchingSessionWhenScopeIsSession()
-
shouldReturnZeroIndexComponentWithoutTouchingSessionWhenScopeIsNull
public void shouldReturnZeroIndexComponentWithoutTouchingSessionWhenScopeIsNull()
-
shouldReturnSingleElementCollectionWhenRandomComponentHasBeenFound
public void shouldReturnSingleElementCollectionWhenRandomComponentHasBeenFound()
-
shouldReturnEmptyCollectionWhenRandomComponentHasBeenNotFound
public void shouldReturnEmptyCollectionWhenRandomComponentHasBeenNotFound()
-
-