Class AchievementCompositionRootTests
PlayMode tests for Serenity.Achievements.Installation.Installers.AchievementCompositionRoot: the order its steps run in, that one pass produces every part of the module, and what a gateway that cannot be built leaves behind.
Inherited Members
Namespace: Serenity.UnityAchievements.Tests.Installation
Assembly: Tests.dll
Syntax
public class AchievementCompositionRootTests
Remarks
The gateway is built through an injected factory, which is the only way to observe WHEN it was built and WHAT it was handed — the shipped factory reads platform definition assets a test cannot substitute, and answers a gateway that remembers nothing about its own creation.
Constructors
AchievementCompositionRootTests()
Declaration
public AchievementCompositionRootTests()
Methods
Compose_BuildsEveryPartOfTheModule()
Declaration
public void Compose_BuildsEveryPartOfTheModule()
Compose_ReadsTheDeclaredAchievements_BeforeItBuildsTheGateway()
Declaration
public void Compose_ReadsTheDeclaredAchievements_BeforeItBuildsTheGateway()
Compose_WhenAStepAfterTheGatewayThrows_DisposesTheGatewayAndLeavesNothingRunning()
Declaration
public void Compose_WhenAStepAfterTheGatewayThrows_DisposesTheGatewayAndLeavesNothingRunning()
Compose_WhenTheGatewayFactoryThrows_LeavesNothingRunning()
Declaration
public void Compose_WhenTheGatewayFactoryThrows_LeavesNothingRunning()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()