Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference29 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference38 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository27 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache28 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference26 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent44 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged32 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged28 msPassed
getReferenceReturnsExistingNewlyRegisteredObject26 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion28 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType28 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference27 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded27 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference27 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching30 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference29 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion27 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository34 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval29 msPassed