Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference39 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference36 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository35 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache41 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference36 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent35 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged39 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged38 msPassed
getReferenceReturnsExistingNewlyRegisteredObject36 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion38 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType38 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference36 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded37 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference35 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching40 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference37 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion36 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository0.24 secPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval38 msPassed