Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference34 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference94 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository32 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache32 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference17 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent18 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged16 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged18 msPassed
getReferenceReturnsExistingNewlyRegisteredObject24 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion25 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType18 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference17 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded17 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference29 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching18 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference24 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion16 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository37 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval17 msPassed