Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference30 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference29 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository28 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache28 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference29 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent28 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged28 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged28 msPassed
getReferenceReturnsExistingNewlyRegisteredObject28 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion29 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType34 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference29 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded30 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference28 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching29 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference29 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion28 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository27 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval36 msPassed