Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference31 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference28 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository29 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache29 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference29 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent29 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged28 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged29 msPassed
getReferenceReturnsExistingNewlyRegisteredObject28 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion30 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType36 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference29 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded31 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference29 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching30 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference30 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion34 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository27 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval34 msPassed