Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference51 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference22 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository47 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache51 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference23 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent20 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged21 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged48 msPassed
getReferenceReturnsExistingNewlyRegisteredObject48 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion49 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType41 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference23 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded23 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference47 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching24 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference49 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion48 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository21 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval50 msPassed