예제 #1
0
 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);
 }