Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference33 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference30 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository30 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache80 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference29 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent29 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged29 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged31 msPassed
getReferenceReturnsExistingNewlyRegisteredObject29 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion29 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType32 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference30 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded31 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference31 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching31 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference31 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion30 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository28 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval31 msPassed