logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class StageStateTests

    Tests for the StageState entity.

    Inheritance
    object
    StageStateTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Stage.Tests.Domain
    Assembly: Tests.dll
    Syntax
    public class StageStateTests

    Constructors

    StageStateTests()

    Declaration
    public StageStateTests()

    Methods

    Complete_WhenAlreadyFailed_DoesNotTransition()

    Declaration
    public void Complete_WhenAlreadyFailed_DoesNotTransition()

    Complete_WhenInProgress_TransitionsToCompleted()

    Declaration
    public void Complete_WhenInProgress_TransitionsToCompleted()

    Complete_WhenNotStarted_DoesNotTransition()

    Declaration
    public void Complete_WhenNotStarted_DoesNotTransition()

    Ctor_SetsIdAndNotStarted()

    Declaration
    public void Ctor_SetsIdAndNotStarted()

    Fail_WhenAlreadyCompleted_DoesNotTransition()

    Declaration
    public void Fail_WhenAlreadyCompleted_DoesNotTransition()

    Fail_WhenInProgress_TransitionsToFailed()

    Declaration
    public void Fail_WhenInProgress_TransitionsToFailed()

    Fail_WhenNotStarted_DoesNotTransition()

    Declaration
    public void Fail_WhenNotStarted_DoesNotTransition()

    Start_TransitionsToInProgress()

    Declaration
    public void Start_TransitionsToInProgress()

    ToSnapshot_ReturnsCorrectSnapshot()

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