logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityServiceHostTests

    Tests for UnityServiceHost: the "new GameObject, name it, add the hosting component" factory boilerplate shared by the Unity service factories.

    Inheritance
    object
    UnityServiceHostTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityGlobal.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityServiceHostTests

    Constructors

    UnityServiceHostTests()

    Declaration
    public UnityServiceHostTests()

    Methods

    CreateHost_Should_CreateABareNamedGameObject_WithNoExtraComponents()

    Declaration
    public void CreateHost_Should_CreateABareNamedGameObject_WithNoExtraComponents()

    CreateHost_WithParent_Should_ParentUnderTheGivenTransform()

    Declaration
    public void CreateHost_WithParent_Should_ParentUnderTheGivenTransform()

    Create_Should_NameTheGameObject_AndAddTheComponent()

    Declaration
    public void Create_Should_NameTheGameObject_AndAddTheComponent()

    Create_WithNullParent_Should_LeaveTheGameObjectUnparented()

    Declaration
    public void Create_WithNullParent_Should_LeaveTheGameObjectUnparented()

    Create_WithParent_Should_ParentUnderTheGivenTransform()

    Declaration
    public void Create_WithParent_Should_ParentUnderTheGivenTransform()

    TearDown()

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