Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference40 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference28 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository27 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache38 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference36 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent28 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged37 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged38 msPassed
getReferenceReturnsExistingNewlyRegisteredObject37 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion38 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType38 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference36 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded37 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference57 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching40 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference38 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion40 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository28 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval39 msPassed