Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference23 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference21 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository22 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache22 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference72 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent22 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged22 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged21 msPassed
getReferenceReturnsExistingNewlyRegisteredObject22 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion21 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType22 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference23 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded22 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference21 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching24 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference22 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion21 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository20 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval23 msPassed