@mtymek See [this](https://github.com/mtymek/MtMail/blob/master/test/MtMailTest/ModuleTest.php)