Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference39 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference37 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository36 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache42 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference37 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent36 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged36 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged26 msPassed
getReferenceReturnsExistingNewlyRegisteredObject36 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion45 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType32 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference36 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded37 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference37 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching39 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference37 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion34 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository35 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval30 msPassed