Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference34 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference64 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository28 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache38 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference36 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent54 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged52 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged35 msPassed
getReferenceReturnsExistingNewlyRegisteredObject29 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion39 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType38 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference0.2 secPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded36 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference28 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching56 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference31 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion39 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository76 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval39 msPassed