Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference29 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference27 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository27 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache28 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference27 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent27 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged26 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged29 msPassed
getReferenceReturnsExistingNewlyRegisteredObject27 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion29 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType28 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference27 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded28 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference27 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching30 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference28 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion27 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository27 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval28 msPassed