Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference23 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference25 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository21 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache22 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference21 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent22 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged21 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged21 msPassed
getReferenceReturnsExistingNewlyRegisteredObject22 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion22 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType22 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference22 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded21 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference21 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching23 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference22 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion20 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository21 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval22 msPassed