Files
elwig/Tests/InteractionSetup.cs
T
2026-09-29 22:30:29 +02:00

21 lines
484 B
C#

using Elwig.Services;
namespace Tests {
[SetUpFixture]
public class InteractionSetup {
[OneTimeSetUp]
public void Setup() {
InteractionService.Override = (mode, title, text) => {
Assert.Fail($"User interaction requested: {mode} - {title} - {text}");
return null;
};
}
[OneTimeTearDown]
public void Teardown() {
InteractionService.Override = null;
}
}
}