Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference7 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference6 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository6 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache7 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference6 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent7 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged7 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged7 msPassed
getReferenceReturnsExistingNewlyRegisteredObject6 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion8 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType7 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference7 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded7 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference6 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching8 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference7 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion7 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository6 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval8 msPassed