App.Current.Dispatcher.Invoke(() =>
{
    Test("");
});