Testing method for failure recognition system