Skip to content

Test Result : UnitOfWorkGetReferenceTest

0 failures (±0)
19 tests (±0)
Took 23 ms.

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference3 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference0 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository0 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache2 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference0 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent0 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged0 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged2 msPassed
getReferenceReturnsExistingNewlyRegisteredObject0 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion3 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType2 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference0 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded0 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference0 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching5 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference3 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion0 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository0 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval3 msPassed