Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference18 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference17 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository18 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache18 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference17 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent17 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged17 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged17 msPassed
getReferenceReturnsExistingNewlyRegisteredObject18 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion18 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType18 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference17 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded17 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference18 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching18 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference17 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion17 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository17 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval18 msPassed