<?php
namespace Codeception\Module;
class MailHelper extends \Codeception\Module
{
}
В тесте
$message = new \Codeception\Module\MailHelper();
$body = $message->getBodyBySubject($subject)
php codecept.phar -V
Codeception version 2.0.13
После обновления до 2.1.0 плучаю ошибку
[PHPUnit_Framework_Exception] Argument 1 passed to Codeception\Module::__construct() must be an instance of Codeception\Lib\ModuleContainer, none given, called in /home/andrey/front/autotests/tests/acceptance/common/mailings/edit/sendSingleMailCept.php on line 26 and defined