Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference30 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference28 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository27 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache28 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference28 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent29 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged28 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged28 msPassed
getReferenceReturnsExistingNewlyRegisteredObject28 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion29 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType31 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference28 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded31 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference28 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching30 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference29 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion29 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository26 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval38 msPassed