add stub for failure method if not provided