Raise an error when pay method nto found and test it