logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameplayEntityServiceContractTests

    Contract tests for IGameplayEntityService. The GameplayEntity Application layer exposes only the interface (the concrete implementation lives in Infrastructure, which is excluded from pure-C# tests). These tests exercise the documented contract through a minimal in-test fake that mirrors the intended semantics.

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

    Constructors

    GameplayEntityServiceContractTests()

    Declaration
    public GameplayEntityServiceContractTests()

    Methods

    CreateRef_ExplicitId_PreservesId()

    Declaration
    public void CreateRef_ExplicitId_PreservesId()

    CreateRef_ExplicitId_PreservesKind()

    Declaration
    public void CreateRef_ExplicitId_PreservesKind()

    CreateRef_ExplicitId_RoundTripsBothFields()

    Declaration
    public void CreateRef_ExplicitId_RoundTripsBothFields()

    CreateRef_KindOnly_AppliesGivenKind()

    Declaration
    public void CreateRef_KindOnly_AppliesGivenKind()

    CreateRef_KindOnly_GeneratesUniqueIds()

    Declaration
    public void CreateRef_KindOnly_GeneratesUniqueIds()

    CreateRef_KindOnly_ProducesValidRef()

    Declaration
    public void CreateRef_KindOnly_ProducesValidRef()

    Service_IsAssignableToIGameplayEntityService()

    Declaration
    public void Service_IsAssignableToIGameplayEntityService()

    SetUp()

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