Skip to content

Test Result : UnitOfWorkGetReferenceTest

0 failures (±0)
19 tests (±0)
Took 0.61 sec.

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference38 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference27 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository31 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache27 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference46 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent28 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged27 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged27 msPassed
getReferenceReturnsExistingNewlyRegisteredObject29 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion29 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType41 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference27 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded41 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference42 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching29 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference41 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion27 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository28 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval29 msPassed