public void ExecuteOn(TestThread t) { t.Execute(() => { executionResult.Result = fun(); executionResult.MarkAsFinished(); }); }