logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CharacterSnapshotBehaviorTests

    Additional behavioral tests for the CharacterSnapshot value object: exact ToString format, all-status variants, and edge field values.

    Inheritance
    object
    CharacterSnapshotBehaviorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Character.Tests.Domain
    Assembly: Tests.dll
    Syntax
    public class CharacterSnapshotBehaviorTests

    Constructors

    CharacterSnapshotBehaviorTests()

    Declaration
    public CharacterSnapshotBehaviorTests()

    Methods

    Ctor_AcceptsNullStatus()

    Declaration
    public void Ctor_AcceptsNullStatus()

    Ctor_StoresDeadStatusWithZeroHealth()

    Declaration
    public void Ctor_StoresDeadStatusWithZeroHealth()

    Ctor_StoresSpawningStatus()

    Declaration
    public void Ctor_StoresSpawningStatus()

    ToString_DefaultId_RendersEmptyId()

    Declaration
    public void ToString_DefaultId_RendersEmptyId()

    ToString_ExactFormat()

    Declaration
    public void ToString_ExactFormat()
    In this article
    © 2026 Serenity. All Rights Reserved