Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference37 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference47 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository35 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache36 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference43 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent37 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged36 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged36 msPassed
getReferenceReturnsExistingNewlyRegisteredObject34 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion37 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType37 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference35 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded0.19 secPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference36 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching38 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference35 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion36 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository48 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval37 msPassed