The Torah elucidates that there will many ordeals and troubles that Moshiach/Mahdi will go through and he will come to recognize himself from the fact that he is not shaken in the face of these trials. The Torah explains in detail about the dajjal’s movement which organizes evil against Moshiach-Mahdi in the end times. - Harun Yahya