@IntegrationTest public class DefaultPersistenceTest extends 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 shouldInitializePersistence()
throws Exception
Exceptionpublic void shouldInsertNewEntryWithKeyAndValueIfSuchEntryDoesNotExists()
throws Exception
Exceptionpublic void shouldNotInsertEntryWithKeyAndValueIfSuchEntryAlreadyExists()
throws Exception
Exceptionpublic void shouldUpdateExistingValueForGivenKey()
throws Exception
Exceptionpublic void shouldReturnFalseWhenTryingToUpdateNonExistentEntry()
throws Exception
Exceptionpublic void shouldDeleteEntryForGivenExistingKey()
throws Exception
Exceptionpublic void shouldReturnFalseWhenTryingToDeleteNonExistentEntry()
throws Exception
Exceptionpublic void shouldGetAValueForGivenKey()
throws Exception
Exceptionpublic void shouldReturnNullWhenTryingToGetAValueForNonExistentKey()
throws Exception
ExceptionCopyright © 2017 SAP SE. All Rights Reserved.