Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference19 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference41 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository18 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache18 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference38 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent43 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged38 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged39 msPassed
getReferenceReturnsExistingNewlyRegisteredObject17 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion95 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType42 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference39 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded40 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference18 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching42 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference19 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion41 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository41 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval43 msPassed