@IntegrationTest public class DefaultPersistenceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultPersistenceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
shouldDeleteEntryForGivenExistingKey() |
void |
shouldGetAValueForGivenKey() |
void |
shouldInitializePersistence() |
void |
shouldInsertNewEntryWithKeyAndValueIfSuchEntryDoesNotExists() |
void |
shouldNotInsertEntryWithKeyAndValueIfSuchEntryAlreadyExists() |
void |
shouldReturnAllEntriesAsPropertiesObject() |
void |
shouldReturnFalseWhenTryingToDeleteNonExistentEntry() |
void |
shouldReturnFalseWhenTryingToUpdateNonExistentEntry() |
void |
shouldReturnNullWhenTryingToGetAValueForNonExistentKey() |
void |
shouldUpdateExistingValueForGivenKey() |
void |
tearDown() |
public void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldInitializePersistence()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldInsertNewEntryWithKeyAndValueIfSuchEntryDoesNotExists()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotInsertEntryWithKeyAndValueIfSuchEntryAlreadyExists()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldUpdateExistingValueForGivenKey()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldReturnFalseWhenTryingToUpdateNonExistentEntry()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldDeleteEntryForGivenExistingKey()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldReturnFalseWhenTryingToDeleteNonExistentEntry()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldGetAValueForGivenKey()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldReturnNullWhenTryingToGetAValueForNonExistentKey()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldReturnAllEntriesAsPropertiesObject()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.