Class PersistenceInstallerHookTests
EditMode tests for Install(PersistenceInstallerInstallInput)'s hook wiring: BOTH backend hooks run
(InstallBlobStore and InstallKeyValueStore), and the blob-backed use cases are only built
when a blob store actually exists — never against a null store. These are the unit-level guarantees
UnitySerenityInstaller.InstallPersistenceBackend's custom-backend guard builds on (that method is
private and only reachable through a full boot, so its fallback branches are covered manually in Play Mode).
Inherited Members
Namespace: Serenity.PersistenceBackend.Tests.Editor
Assembly: Serenity.PersistenceBackend.Tests.Editor.dll
Syntax
public class PersistenceInstallerHookTests
Constructors
PersistenceInstallerHookTests()
Declaration
public PersistenceInstallerHookTests()
Methods
Install_BlobOnlyBackend_KeepsItsExistingBehavior()
Declaration
public void Install_BlobOnlyBackend_KeepsItsExistingBehavior()
Install_DualStoreBackend_InstallsBothStoresAndRoundTripsThroughTheUseCases()
Declaration
public void Install_DualStoreBackend_InstallsBothStoresAndRoundTripsThroughTheUseCases()
Install_KeyValueOnlyBackend_InstallsTheKeyValueStoreAndLeavesUseCasesNull()
Declaration
public void Install_KeyValueOnlyBackend_InstallsTheKeyValueStoreAndLeavesUseCasesNull()