Class DefaultBaseStoreServiceTest
- java.lang.Object
-
- de.hybris.platform.store.services.impl.DefaultBaseStoreServiceTest
-
@UnitTest public class DefaultBaseStoreServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultBaseStoreServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldReturnAllBaseStores()Test method forDefaultBaseStoreService.getAllBaseStores().voidshouldReturnBaseStoresFromStrategy()voidshouldReturnFoundBaseStoreModelForUid()Test method forDefaultBaseStoreService.getBaseStoreForUid(java.lang.String).voidshouldThrowAmbiguousIdentifierExceptionWhenHasBeenFoundMoreThanOneStoreForUid()Test method forDefaultBaseStoreService.getBaseStoreForUid(java.lang.String).voidshouldThrowAnExceptionFromStrategy()voidshouldThrowUnknownIdentifierExceptionWhenStoreHasNotBeenFound()Test method forDefaultBaseStoreService.getBaseStoreForUid(java.lang.String).
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowUnknownIdentifierExceptionWhenStoreHasNotBeenFound
public void shouldThrowUnknownIdentifierExceptionWhenStoreHasNotBeenFound()
Test method forDefaultBaseStoreService.getBaseStoreForUid(java.lang.String).
-
shouldThrowAmbiguousIdentifierExceptionWhenHasBeenFoundMoreThanOneStoreForUid
public void shouldThrowAmbiguousIdentifierExceptionWhenHasBeenFoundMoreThanOneStoreForUid()
Test method forDefaultBaseStoreService.getBaseStoreForUid(java.lang.String).
-
shouldReturnFoundBaseStoreModelForUid
public void shouldReturnFoundBaseStoreModelForUid()
Test method forDefaultBaseStoreService.getBaseStoreForUid(java.lang.String).
-
shouldReturnAllBaseStores
public void shouldReturnAllBaseStores()
Test method forDefaultBaseStoreService.getAllBaseStores().
-
shouldReturnBaseStoresFromStrategy
public void shouldReturnBaseStoresFromStrategy()
-
shouldThrowAnExceptionFromStrategy
public void shouldThrowAnExceptionFromStrategy()
-
-