Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference32 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference30 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository28 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache32 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference31 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent30 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged30 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged33 msPassed
getReferenceReturnsExistingNewlyRegisteredObject31 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion32 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType37 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference30 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded32 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference33 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching33 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference31 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion32 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository27 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval36 msPassed