public void CreateThreadStart() { BindingEnvironment environment = new BindingEnvironment(); Runner function = new Runner(); FunctionWrapper wrapper = new FunctionWrapper(function, environment); Thread th = new Thread(wrapper.CreateThreadStart()); th.Start(); th.Join(); Assert.IsTrue(function.WasInvoked); }