Class UnityModalOptionsBuilderTests
Tests for CreateModalOptions(IReadOnlyList<UiOption>, IUiThemeDefinition). Only the option-free guard path is unit-testable without real prefab templates: a null options list returns an empty interactable list before the component creator is ever touched (so it is safe to pass a null creator). Rendering actual options requires a populated UI theme and prefab hierarchy and is left to PlayMode/scene coverage.
Inherited Members
Namespace: Serenity.UnityModal.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityModalOptionsBuilderTests
Constructors
UnityModalOptionsBuilderTests()
Declaration
public UnityModalOptionsBuilderTests()
Methods
CreateModalOptions_NullOptions_ReturnsEmptyList()
Declaration
public void CreateModalOptions_NullOptions_ReturnsEmptyList()