public void TextFieldSignalEmit() { tlog.Debug(tag, $"TextFieldSignalEmit START"); var currentPid = global::System.Diagnostics.Process.GetCurrentProcess().Id; var currentTid = global::System.Threading.Thread.CurrentThread.ManagedThreadId; tlog.Debug(tag, $"thread check! main pid={App.mainPid}, current pid={currentPid}, main tid={App.mainTid}, current tid={currentTid}"); using (TextField field = new TextField()) { var testingTarget = new TextFieldSignal(); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <TextFieldSignal>(testingTarget, "Should be an Instance of TextFieldSignal!"); try { testingTarget.Emit(field); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"TouchDataSignalEmit END (OK)"); }