Class SaveDocumentTests
SaveDocument-specific tests: metadata, section payload get/set, and key ordering.
Inherited Members
Namespace: Serenity.GameSave.Tests.Domain
Assembly: Tests.dll
Syntax
public class SaveDocumentTests
Constructors
SaveDocumentTests()
Declaration
public SaveDocumentTests()
Methods
Constructor_StoresMetadataVerbatim()
Declaration
public void Constructor_StoresMetadataVerbatim()
GetSectionPayload_NeverSet_ReturnsNull()
Declaration
public void GetSectionPayload_NeverSet_ReturnsNull()
SetSectionPayload_NewKeys_AppendsToSectionKeysInRegistrationOrder()
Declaration
public void SetSectionPayload_NewKeys_AppendsToSectionKeysInRegistrationOrder()
SetSectionPayload_NullOrEmptyKey_ThrowsArgumentException()
Declaration
public void SetSectionPayload_NullOrEmptyKey_ThrowsArgumentException()
SetSectionPayload_SameKeyTwice_ReplacesValueWithoutDuplicatingTheKey()
Declaration
public void SetSectionPayload_SameKeyTwice_ReplacesValueWithoutDuplicatingTheKey()
SetSectionPayload_ThenGet_RoundTrips()
Declaration
public void SetSectionPayload_ThenGet_RoundTrips()