logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class WeaponIdBehaviorTests

    Additional behavioral tests for the WeaponId value object not covered by WeaponIdTests.

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

    Constructors

    WeaponIdBehaviorTests()

    Declaration
    public WeaponIdBehaviorTests()

    Methods

    Equals_DefaultPair_True()

    Declaration
    public void Equals_DefaultPair_True()

    Equals_Object_Null_False()

    Declaration
    public void Equals_Object_Null_False()

    ExplicitFromString_Empty_StoresEmptyAndInvalid()

    Declaration
    public void ExplicitFromString_Empty_StoresEmptyAndInvalid()

    ExplicitFromString_Null_Throws()

    Declaration
    public void ExplicitFromString_Null_Throws()

    GetHashCode_DifferentValues_Differ()

    Declaration
    public void GetHashCode_DifferentValues_Differ()

    ImplicitToString_Default_ReturnsNull()

    Declaration
    public void ImplicitToString_Default_ReturnsNull()

    OperatorEquals_DefaultPair_True()

    Declaration
    public void OperatorEquals_DefaultPair_True()

    OperatorEquals_Different_False()

    Declaration
    public void OperatorEquals_Different_False()

    OperatorNotEquals_Same_False()

    Declaration
    public void OperatorNotEquals_Same_False()

    Value_IsCaseSensitive_NotEqual()

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