Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference23 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference24 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository21 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache23 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference22 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent23 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged24 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged23 msPassed
getReferenceReturnsExistingNewlyRegisteredObject21 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion23 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType24 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference22 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded97 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference22 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching24 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference26 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion22 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository24 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval24 msPassed