setExpectedException("\\Mailgun\\Messages\\Exceptions\\MissingRequiredMIMEParameters"); $client = new Mailgun(); $client->sendMessage("test.mailgun.com", "etss", 1); } }