logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class StageIdBehaviorTests

    Additional behavioral tests for the StageId value object.

    Inheritance
    object
    StageIdBehaviorTests
    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 StageIdBehaviorTests

    Constructors

    StageIdBehaviorTests()

    Declaration
    public StageIdBehaviorTests()

    Methods

    Ctor_EmptyString_DoesNotThrow()

    Declaration
    public void Ctor_EmptyString_DoesNotThrow()

    Equals_AgainstDefault_ReturnsFalse()

    Declaration
    public void Equals_AgainstDefault_ReturnsFalse()

    Equals_DefaultAgainstDefault_ReturnsTrue()

    Declaration
    public void Equals_DefaultAgainstDefault_ReturnsTrue()

    Equals_IsCaseSensitiveOrdinal_ReturnsFalse()

    Declaration
    public void Equals_IsCaseSensitiveOrdinal_ReturnsFalse()

    Equals_Object_Null_ReturnsFalse()

    Declaration
    public void Equals_Object_Null_ReturnsFalse()

    GetHashCode_Different_DoNotMatch()

    Declaration
    public void GetHashCode_Different_DoNotMatch()

    GetHashCode_EmptyValue_IsNotDefaultZero()

    Declaration
    public void GetHashCode_EmptyValue_IsNotDefaultZero()

    ImplicitConversion_Default_ReturnsNull()

    Declaration
    public void ImplicitConversion_Default_ReturnsNull()

    NewGuid_ProducesNonEmptyValue()

    Declaration
    public void NewGuid_ProducesNonEmptyValue()

    OperatorEquals_Different_ReturnsFalse()

    Declaration
    public void OperatorEquals_Different_ReturnsFalse()

    OperatorNotEquals_Same_ReturnsFalse()

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