[testHapProcess] Use assertGError() to show the error message.