Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference8 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference7 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository5 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache7 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference6 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent7 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged7 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged6 msPassed
getReferenceReturnsExistingNewlyRegisteredObject6 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion6 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType7 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference7 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded6 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference6 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching8 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference7 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion7 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository8 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval8 msPassed