Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference35 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference30 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository32 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache53 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference29 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent29 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged29 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged55 msPassed
getReferenceReturnsExistingNewlyRegisteredObject32 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion52 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType31 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference32 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded30 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference34 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching33 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference34 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion56 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository43 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval0.1 secPassed