Fixed NullPointerException when trying to apply a custom matcher on a
null actual object