Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference38 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference36 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository39 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache37 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference71 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent36 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged54 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged39 msPassed
getReferenceReturnsExistingNewlyRegisteredObject36 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion38 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType38 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference71 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded0.19 secPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference37 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching75 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference37 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion37 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository34 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval41 msPassed