Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference8 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference14 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository6 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache7 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference6 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent13 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged13 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged7 msPassed
getReferenceReturnsExistingNewlyRegisteredObject6 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion8 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType7 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference9 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded6 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference6 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching0.14 secPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference7 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion6 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository14 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval7 msPassed