private void RunFormTest(Func <FormInit, Task> testDriverAsync, string path) { UITest.RunForm( () => { Assert.True(_commands.StartInitializeDialog(owner: null, path)); }, testDriverAsync); }