Class UnitySpawnFactoryTests
Tests for Serenity.GameSpawner.Infrastructure.Factories.UnitySpawnFactory, the Unity GameObject-backed implementation of Serenity.GameSpawner.Application.Interfaces.Factories.ISpawnFactory. Exercises creation, destruction, parenting and bulk removal of spawned GameObjects.
Inherited Members
Namespace: Serenity.UnityGameSpawner.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnitySpawnFactoryTests
Constructors
UnitySpawnFactoryTests()
Declaration
public UnitySpawnFactoryTests()
Methods
Create_CalledTwice_ReturnsDistinctHandles()
Declaration
public void Create_CalledTwice_ReturnsDistinctHandles()
Create_NamesGameObject_UsingTypeAndInstanceId()
Declaration
public void Create_NamesGameObject_UsingTypeAndInstanceId()
Create_ReturnsHandle_WithRequestedType()
Declaration
public void Create_ReturnsHandle_WithRequestedType()
Create_SpawnsChildGameObject_ParentedToFactory()
Declaration
public void Create_SpawnsChildGameObject_ParentedToFactory()
DestroyAll_OnlyTargetsMatchingType()
Declaration
public void DestroyAll_OnlyTargetsMatchingType()
DestroyAll_UnknownType_DoesNotThrow()
Declaration
public void DestroyAll_UnknownType_DoesNotThrow()
Destroy_KnownHandle_RemovesChildGameObject()
Declaration
public void Destroy_KnownHandle_RemovesChildGameObject()
Destroy_UnknownHandle_DoesNotThrow()
Declaration
public void Destroy_UnknownHandle_DoesNotThrow()
Factory_Implements_ISpawnFactory()
Declaration
public void Factory_Implements_ISpawnFactory()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()