Package de.hybris.platform.licence.sap
Class DefaultPersistenceTest
- java.lang.Object
-
- de.hybris.platform.licence.sap.DefaultPersistenceTest
-
@IntegrationTest public class DefaultPersistenceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultPersistenceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldDeleteEntryForGivenExistingKey()voidshouldGetAValueForGivenKey()voidshouldInitializePersistence()voidshouldInsertNewEntryWithKeyAndValueIfSuchEntryDoesNotExists()voidshouldNotInsertEntryWithKeyAndValueIfSuchEntryAlreadyExists()voidshouldReturnAllEntriesAsPropertiesObject()voidshouldReturnFalseWhenTryingToDeleteNonExistentEntry()voidshouldReturnFalseWhenTryingToUpdateNonExistentEntry()voidshouldReturnNullWhenTryingToGetAValueForNonExistentKey()voidshouldUpdateExistingValueForGivenKey()voidtearDown()
-
-
-
Method Detail
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldInitializePersistence
public void shouldInitializePersistence() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldInsertNewEntryWithKeyAndValueIfSuchEntryDoesNotExists
public void shouldInsertNewEntryWithKeyAndValueIfSuchEntryDoesNotExists() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotInsertEntryWithKeyAndValueIfSuchEntryAlreadyExists
public void shouldNotInsertEntryWithKeyAndValueIfSuchEntryAlreadyExists() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldUpdateExistingValueForGivenKey
public void shouldUpdateExistingValueForGivenKey() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnFalseWhenTryingToUpdateNonExistentEntry
public void shouldReturnFalseWhenTryingToUpdateNonExistentEntry() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldDeleteEntryForGivenExistingKey
public void shouldDeleteEntryForGivenExistingKey() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnFalseWhenTryingToDeleteNonExistentEntry
public void shouldReturnFalseWhenTryingToDeleteNonExistentEntry() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldGetAValueForGivenKey
public void shouldGetAValueForGivenKey() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnNullWhenTryingToGetAValueForNonExistentKey
public void shouldReturnNullWhenTryingToGetAValueForNonExistentKey() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnAllEntriesAsPropertiesObject
public void shouldReturnAllEntriesAsPropertiesObject() throws java.lang.Exception- Throws:
java.lang.Exception
-
-