logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameSettingsEntityBehaviorTests

    Behavioral tests for Serenity.GameSettings.Domain.Entities.GameSettingsEntity covering the full field mapping from a definition, the runtime value override and ToString. Complements the existing GameSettingsEntityTests which only exercises the AvoidResetToDefault flag.

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

    Constructors

    GameSettingsEntityBehaviorTests()

    Declaration
    public GameSettingsEntityBehaviorTests()

    Methods

    Ctor_AllowsNullOptions()

    Declaration
    public void Ctor_AllowsNullOptions()

    Ctor_AllowsNullValue()

    Declaration
    public void Ctor_AllowsNullValue()

    Ctor_CopiesEveryFieldFromDefinition()

    Declaration
    public void Ctor_CopiesEveryFieldFromDefinition()

    Ctor_UsesValueArgument_NotDefaultValue()

    Declaration
    public void Ctor_UsesValueArgument_NotDefaultValue()

    IsTranslatingValue_DefaultsToFalse_WhenDefinitionFalse()

    Declaration
    public void IsTranslatingValue_DefaultsToFalse_WhenDefinitionFalse()

    ToString_DoesNotEndWithTrailingComma()

    Declaration
    public void ToString_DoesNotEndWithTrailingComma()

    ToString_IncludesIdValueTypeAndValue()

    Declaration
    public void ToString_IncludesIdValueTypeAndValue()

    Value_CanBeMutatedDirectly()

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