Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference21 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference20 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository20 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache20 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference19 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent20 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged19 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged20 msPassed
getReferenceReturnsExistingNewlyRegisteredObject19 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion20 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType20 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference21 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded20 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference20 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching23 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference21 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion20 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository19 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval21 msPassed