Skip to content

Test Result : UnitOfWorkGetReferenceTest

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

All Tests

Test nameDurationStatus
attributeChangeSetsChangeRecordToPreventCachingWhenNewValueWasRetrievedUsingGetReference19 msPassed
attributeChangedDoesNotRegisterChangeForInstanceRetrievedUsingGetReference17 msPassed
attributeChangedPropagatesChangeOfInstanceRetrievedUsingGetReferenceIntoRepository17 msPassed
changesToGetReferenceResultAreMergedIntoOriginalInCache18 msPassed
containsReturnsTrueForInstanceRetrievedUsingGetReference17 msPassed
getReferenceLoadsOriginalFromSecondLevelCacheWhenPresent17 msPassed
getReferenceLoadsReferenceFromStorageWhenItIsNotManaged18 msPassed
getReferenceReturnsExistingCloneWhenItIsAlreadyManaged17 msPassed
getReferenceReturnsExistingNewlyRegisteredObject17 msPassed
getReferenceReturnsNullWhenObjectIsScheduledForDeletion18 msPassed
getReferenceThrowsEntityExistsExceptionWhenIndividualIsAlreadyManagedAsDifferentIncompatibleType18 msPassed
getStateReturnsManagedForInstanceRetrieveUsingGetReference16 msPassed
loadEntityFieldDoesNothingWhenLazilyLoadedAttributeOfInstanceRetrievedUsingGetReferenceIsAlreadyLoaded18 msPassed
loadEntityFieldLoadsValueOfAttributeOfInstanceRetrievedUsingGetReference17 msPassed
mergeDetachedMarksChangeRecordForAttributeWithGetReferenceResultAsPreventingCaching18 msPassed
removeCreatesRemoveChangeOnCommitForInstanceRetrievedUsingGetReference18 msPassed
removeOfInstanceRetrievedUsingGetReferenceSchedulesItForDeletion17 msPassed
removeRemovesInstanceRetrievedUsingGetReferenceFromRepository17 msPassed
uowCommitEvictsInstanceRetrievedUsingGetReferenceFromCacheWhenItWasNotPresentThereOnRetrieval18 msPassed