Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference29 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference32 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository28 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache29 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference50 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent42 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged40 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged29 msPassed
getReferenceReturnsExistingNewlyRegisteredObject27 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion30 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType40 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference44 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded52 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference28 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching40 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference28 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion29 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository27 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval37 msPassed