Class UiServiceStub
A UI service that knows one thing, the active theme, and answers every other call with the default value: enough for the code under test that only asks which theme is active.
Namespace: Serenity.UnityCutscenePlayer.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UiServiceStub : DispatchProxy
Constructors
UiServiceStub()
Declaration
public UiServiceStub()
Methods
Invoke(MethodInfo, object[])
Declaration
protected override object Invoke(MethodInfo targetMethod, object[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| MethodInfo | targetMethod | |
| object[] | args |
Returns
| Type | Description |
|---|---|
| object |