logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SaveDocumentTests

    SaveDocument-specific tests: metadata, section payload get/set, and key ordering.

    Inheritance
    object
    SaveDocumentTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()
    In this article
    © 2026 Serenity. All Rights Reserved