这个类可能看起来太复杂了,换个容易看得
public static void showError(String dialogTitle, String msg, Exception exception) {
         Status status = new Status(IStatus.ERROR,IStatus.ERROR,exception.getMessage(),
exception);
ErrorDialog.openError((Shell)null, dialogTitle, msg, status);
}
对于这样的类该如何写但愿测试代码?