Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference20 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference17 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository18 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache19 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference18 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent17 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged17 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged17 msPassed
getReferenceReturnsExistingNewlyRegisteredObject18 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion95 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType18 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference17 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded18 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference18 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching18 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference19 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion18 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository18 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval18 msPassed