logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCharacterPresenterTests

    Tests for UnityCharacterPresenter: verifies it creates a fresh CharacterViewModel and binds/rebinds it on the view abstraction.

    Inheritance
    object
    UnityCharacterPresenterTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityCharacter.Tests.InterfaceAdapters
    Assembly: Tests.dll
    Syntax
    public class UnityCharacterPresenterTests

    Constructors

    UnityCharacterPresenterTests()

    Declaration
    public UnityCharacterPresenterTests()

    Methods

    Bind_AssignsValidCharacterId()

    Declaration
    public void Bind_AssignsValidCharacterId()

    Bind_BindsViewModelToView()

    Declaration
    public void Bind_BindsViewModelToView()

    Bind_ReturnsViewModelWithRequestedMaxHealth()

    Declaration
    public void Bind_ReturnsViewModelWithRequestedMaxHealth()

    Bind_TwoViews_ProduceDistinctIds()

    Declaration
    public void Bind_TwoViews_ProduceDistinctIds()

    Rebind_NewViewModelHasNewId()

    Declaration
    public void Rebind_NewViewModelHasNewId()

    Rebind_UnbindsThenBindsFreshViewModel()

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