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; } } }