Class AdoptedIdentityRulesTests
Tests for AdoptedIdentityRules: the pure decision behind adoption's Id renaming, moved
here (from Serenity.CreateGame.Infrastructure.Editor.Adoption) alongside the declarative
reference table its RenamedId(string) pairing feeds
(FoundationReferenceIndex's adopted-counterpart lookup). Every cloned asset is renamed now —
there is no singleton exception left to test.
Inherited Members
Namespace: Serenity.Global.Tests.Application
Assembly: Tests.dll
Syntax
public class AdoptedIdentityRulesTests
Constructors
AdoptedIdentityRulesTests()
Declaration
public AdoptedIdentityRulesTests()
Methods
IsAdoptedId_EmptyId_ReturnsFalse()
Declaration
public void IsAdoptedId_EmptyId_ReturnsFalse()
IsAdoptedId_OriginalId_ReturnsFalse()
Declaration
public void IsAdoptedId_OriginalId_ReturnsFalse()
IsAdoptedId_SuffixedId_ReturnsTrue()
Declaration
public void IsAdoptedId_SuffixedId_ReturnsTrue()
RenamedId_AlreadySuffixed_IsIdempotent()
Declaration
public void RenamedId_AlreadySuffixed_IsIdempotent()
RenamedId_EmptyId_ReturnsUnchanged()
Declaration
public void RenamedId_EmptyId_ReturnsUnchanged()
RenamedId_OriginalId_AppendsProjectSuffix()
Declaration
public void RenamedId_OriginalId_AppendsProjectSuffix()