logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LocalizationUseCasesBehaviorTests

    Behavioral coverage for the Localization use cases beyond the basic delegation checks: verifies port-method invocation counts, that the full input object (including Id) flows through unchanged, and repeated-call behavior.

    Inheritance
    object
    LocalizationUseCasesBehaviorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Localization.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class LocalizationUseCasesBehaviorTests

    Constructors

    LocalizationUseCasesBehaviorTests()

    Declaration
    public LocalizationUseCasesBehaviorTests()

    Methods

    GetGameLanguage_ExecuteTwice_ReflectsServiceStateEachTime()

    Declaration
    public void GetGameLanguage_ExecuteTwice_ReflectsServiceStateEachTime()

    GetGameLanguage_Execute_InvokesServiceExactlyOnce()

    Declaration
    public void GetGameLanguage_Execute_InvokesServiceExactlyOnce()

    GetVoiceLanguage_ExecuteTwice_ReflectsServiceStateEachTime()

    Declaration
    public void GetVoiceLanguage_ExecuteTwice_ReflectsServiceStateEachTime()

    GetVoiceLanguage_Execute_InvokesServiceExactlyOnce()

    Declaration
    public void GetVoiceLanguage_Execute_InvokesServiceExactlyOnce()

    SetGameLanguage_ExecuteWithNullInput_ForwardsNull()

    Declaration
    public void SetGameLanguage_ExecuteWithNullInput_ForwardsNull()

    SetGameLanguage_Execute_DoesNotTouchVoiceState()

    Declaration
    public void SetGameLanguage_Execute_DoesNotTouchVoiceState()

    SetGameLanguage_Execute_InvokesServiceExactlyOnce()

    Declaration
    public void SetGameLanguage_Execute_InvokesServiceExactlyOnce()

    SetGameLanguage_Execute_PassesSameInputReferenceToService()

    Declaration
    public void SetGameLanguage_Execute_PassesSameInputReferenceToService()

    SetGameLanguage_Execute_PreservesInputIdAndLanguage()

    Declaration
    public void SetGameLanguage_Execute_PreservesInputIdAndLanguage()

    SetVoiceLanguage_ExecuteWithNullInput_ForwardsNull()

    Declaration
    public void SetVoiceLanguage_ExecuteWithNullInput_ForwardsNull()

    SetVoiceLanguage_Execute_InvokesServiceExactlyOnce()

    Declaration
    public void SetVoiceLanguage_Execute_InvokesServiceExactlyOnce()

    SetVoiceLanguage_Execute_PassesSameInputReferenceToService()

    Declaration
    public void SetVoiceLanguage_Execute_PassesSameInputReferenceToService()

    SetVoiceLanguage_Execute_PreservesInputIdAndLanguage()

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