public function testGetConsoleUsage() { $this->assertEquals(['acmailer parse-config [--configKey=] [--format=(php|xml|ini|json)] [--outputFile=]' => 'Parses the configuration of AcMailer module <=v4.5.1 to the structure used in v5.0.0'], $this->module->getConsoleUsage(new AdapterMock())); }
public function testGetConfig() { $expectedConfig = (include __DIR__ . '/../config/module.config.php'); $returnedConfig = $this->module->getConfig(); $this->assertEquals($expectedConfig, $returnedConfig); }