Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference28 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference46 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository28 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache28 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference36 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent36 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged37 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged29 msPassed
getReferenceReturnsExistingNewlyRegisteredObject27 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion28 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType36 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference37 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded36 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference29 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching39 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference28 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion79 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository43 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval38 msPassed