Add internal static InitState method to subscribe events.

This commit is contained in:
BDisp
2024-12-04 14:08:22 +00:00
parent ce17fddd9c
commit 99866c80b5
4 changed files with 41 additions and 4 deletions

View File

@@ -641,6 +641,12 @@ public class ApplicationTests
Application.Shutdown ();
}
[Fact]
public void InitState_Throws_If_Driver_Is_Null ()
{
Assert.Throws<ArgumentNullException> (static () => Application.InitState ());
}
private void Init ()
{
Application.Init (new FakeDriver ());