Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference28 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference30 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository23 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache29 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference28 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent27 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged27 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged29 msPassed
getReferenceReturnsExistingNewlyRegisteredObject22 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion29 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType30 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference27 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded27 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference24 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching30 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference28 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion0.12 secPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository28 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval57 msPassed