Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference28 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference25 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository25 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache38 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference28 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent25 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged25 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged26 msPassed
getReferenceReturnsExistingNewlyRegisteredObject25 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion56 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType27 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference26 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded25 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference25 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching29 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference27 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion24 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository26 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval28 msPassed