logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ICharacterConfigBehaviorTests

    Additional behavioral tests for the ICharacterConfig default ToConfig() method covering guard-clause propagation and that only MaxHealth is mapped.

    Inheritance
    object
    ICharacterConfigBehaviorTests
    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.Application
    Assembly: Tests.dll
    Syntax
    public class ICharacterConfigBehaviorTests

    Constructors

    ICharacterConfigBehaviorTests()

    Declaration
    public ICharacterConfigBehaviorTests()

    Methods

    ToConfig_DoesNotDependOnMoveSpeedOrName()

    Declaration
    public void ToConfig_DoesNotDependOnMoveSpeedOrName()

    ToConfig_LargeMaxHealth_MapsValue()

    Declaration
    public void ToConfig_LargeMaxHealth_MapsValue()

    ToConfig_MaxHealthNegative_PropagatesArgumentException()

    Declaration
    public void ToConfig_MaxHealthNegative_PropagatesArgumentException()

    ToConfig_MaxHealthZero_PropagatesArgumentException()

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