public function testDisplayError_shouldReturnMultipleErrors() { // given $errors = array('Error 1', 'Error 2', 'Error 3'); $module = new FakeModule(); // when $html_output = $module->displayError($errors); // then $this->assertHtmlEquals($this->error_array_res, $html_output); }
public function testConfigs() { $aUserConfig = FakeModule::getConfig(); $aClientConfig = FakeModule::getClientConfig(); $this->assertInternalType('array', $aUserConfig); $this->assertInternalType('array', $aClientConfig); $this->assertEquals('userConfig', $aUserConfig[0]); $this->assertEquals('clientConfig', $aClientConfig[0]); WirecardCEE_Stdlib_Module_ModuleAbstract::getConfig(); WirecardCEE_Stdlib_Module_ModuleAbstract::getClientConfig(); }