logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ProceduralContextBehaviorTests

    Additional behavioral coverage for Serenity.ProceduralExpression.Domain.Entities.ProceduralContext beyond ProceduralContextTests: custom default for missing keys, that GetState forwards the supplied default through to the reader, and that the same reader instance is retained (no defensive copy of the dependency).

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

    Constructors

    ProceduralContextBehaviorTests()

    Declaration
    public ProceduralContextBehaviorTests()

    Methods

    GetState_ForwardsDefaultToReader()

    Declaration
    public void GetState_ForwardsDefaultToReader()

    GetState_MissingKeyWithCustomDefault_ReturnsCustomDefault()

    Declaration
    public void GetState_MissingKeyWithCustomDefault_ReturnsCustomDefault()

    GetState_NullReaderWithCustomDefault_ReturnsCustomDefault()

    Declaration
    public void GetState_NullReaderWithCustomDefault_ReturnsCustomDefault()

    StateReader_RetainsSameInstance()

    Declaration
    public void StateReader_RetainsSameInstance()

    Time_NonZero_ReflectsTimeInfo()

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