Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference33 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference18 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository37 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache17 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference18 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent18 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged18 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged17 msPassed
getReferenceReturnsExistingNewlyRegisteredObject34 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion18 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType17 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference17 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded17 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference35 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching20 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference34 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion17 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository18 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval19 msPassed