Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference55 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference96 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository52 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache53 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference68 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent57 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged57 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged55 msPassed
getReferenceReturnsExistingNewlyRegisteredObject43 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion55 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType56 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference64 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded57 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference51 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching0.1 secPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference54 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion53 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository58 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval56 msPassed