Class ThreadLocalDocumentCacheTest
java.lang.Object
ydocumentcartpackage.persistence.polyglot.repository.documentcart.storage.cache.ThreadLocalDocumentCacheTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
ThreadLocalDocumentCacheTest
public ThreadLocalDocumentCacheTest()
-
-
Method Details
-
setUp
public void setUp() -
shouldReturnQueryResultFromLoadFromStorageStrategy
public void shouldReturnQueryResultFromLoadFromStorageStrategy() -
shouldNotQueryCacheWhenNoContextIsActive
public void shouldNotQueryCacheWhenNoContextIsActive() -
shouldQueryCacheWhenContextIsActive
public void shouldQueryCacheWhenContextIsActive() -
shouldQueryCacheWhenContextIsActiveAndQueryIsUsingMatchingRootConditions
public void shouldQueryCacheWhenContextIsActiveAndQueryIsUsingMatchingRootConditions() -
shouldQueryCacheWhenContextIsActiveAndQueryIsUsingNotMatchingRootConditions
public void shouldQueryCacheWhenContextIsActiveAndQueryIsUsingNotMatchingRootConditions() -
shouldQueryCacheWhenContextIsActiveAndQueryIsUsingMatchingEntityConditions
public void shouldQueryCacheWhenContextIsActiveAndQueryIsUsingMatchingEntityConditions() -
shouldQueryCacheWhenContextIsActiveAndQueryIsUsingNotMatchingEntityConditions
public void shouldQueryCacheWhenContextIsActiveAndQueryIsUsingNotMatchingEntityConditions() -
shouldQueryCacheWhenContextIsActiveAndQueryIsUsingMatchingEntityId
public void shouldQueryCacheWhenContextIsActiveAndQueryIsUsingMatchingEntityId() -
shouldQueryCacheWhenContextIsActiveAndQueryIsUsingNotMatchingEntityId
public void shouldQueryCacheWhenContextIsActiveAndQueryIsUsingNotMatchingEntityId() -
shouldReturnEmptyResultWhenContextIsActiveAndQueryForRemovedDocumentAndUsingRootId
public void shouldReturnEmptyResultWhenContextIsActiveAndQueryForRemovedDocumentAndUsingRootId() -
shouldReturnEmptyResultWhenContextIsActiveAndQueryForRemovedDocumentAndUsingMatchingRootCondition
public void shouldReturnEmptyResultWhenContextIsActiveAndQueryForRemovedDocumentAndUsingMatchingRootCondition() -
shouldReturnEmptyResultWhenContextIsActiveAndQueryForRemovedDocumentAndUsingMatchingEntityId
public void shouldReturnEmptyResultWhenContextIsActiveAndQueryForRemovedDocumentAndUsingMatchingEntityId() -
shouldSaveDocumentsInStorageWhenClosingContextAndMarkedAsSuccessful
public void shouldSaveDocumentsInStorageWhenClosingContextAndMarkedAsSuccessful() -
shouldRemoveDocumentsInStorageWhenClosingContextAndMarkedAsSuccessful
public void shouldRemoveDocumentsInStorageWhenClosingContextAndMarkedAsSuccessful() -
shouldNotSaveDocumentsInCacheWhenClosingContextAndNotMarkedAsSuccessful
public void shouldNotSaveDocumentsInCacheWhenClosingContextAndNotMarkedAsSuccessful() -
shouldReturnDocumentFromCacheWhenAskingInSameContext
public void shouldReturnDocumentFromCacheWhenAskingInSameContext() -
shouldFlushOnceWhenContextIsActive
public void shouldFlushOnceWhenContextIsActive() -
shouldSaveDocumentInCacheWhenContextIsActive
public void shouldSaveDocumentInCacheWhenContextIsActive() -
shouldNotSaveDocumentInCacheWhenContextIsNotActive
public void shouldNotSaveDocumentInCacheWhenContextIsNotActive() -
shouldRemoveDocumentInCacheWhenContextIsActive
public void shouldRemoveDocumentInCacheWhenContextIsActive() -
shouldNotRemoveDocumentInCacheWhenContextIsNotActive
public void shouldNotRemoveDocumentInCacheWhenContextIsNotActive() -
shouldThrowExceptionWhenRemovingRemovedDocument
public void shouldThrowExceptionWhenRemovingRemovedDocument()
-