@UnitTest public class DefaultBaseStoreServiceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultBaseStoreServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldReturnAllBaseStores()
Test method for
DefaultBaseStoreService.getAllBaseStores(). |
void |
shouldReturnBaseStoresFromStrategy() |
void |
shouldReturnFoundBaseStoreModelForUid()
Test method for
DefaultBaseStoreService.getBaseStoreForUid(java.lang.String). |
void |
shouldThrowAmbiguousIdentifierExceptionWhenHasBeenFoundMoreThanOneStoreForUid()
Test method for
DefaultBaseStoreService.getBaseStoreForUid(java.lang.String). |
void |
shouldThrowAnExceptionFromStrategy() |
void |
shouldThrowUnknownIdentifierExceptionWhenStoreHasNotBeenFound()
Test method for
DefaultBaseStoreService.getBaseStoreForUid(java.lang.String). |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldThrowUnknownIdentifierExceptionWhenStoreHasNotBeenFound()
DefaultBaseStoreService.getBaseStoreForUid(java.lang.String).public void shouldThrowAmbiguousIdentifierExceptionWhenHasBeenFoundMoreThanOneStoreForUid()
DefaultBaseStoreService.getBaseStoreForUid(java.lang.String).public void shouldReturnFoundBaseStoreModelForUid()
DefaultBaseStoreService.getBaseStoreForUid(java.lang.String).public void shouldReturnAllBaseStores()
DefaultBaseStoreService.getAllBaseStores().public void shouldReturnBaseStoresFromStrategy()
public void shouldThrowAnExceptionFromStrategy()
Copyright © 2018 SAP SE. All Rights Reserved.