Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference23 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference32 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository21 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache21 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference21 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent36 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged26 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged21 msPassed
getReferenceReturnsExistingNewlyRegisteredObject32 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion22 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType21 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference21 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded21 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference22 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching24 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference22 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion21 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository21 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval21 msPassed