Пример #1
0
 public function testErrors()
 {
     $errors = $this->dictionary->errors(['test_exists', 'test2_exists'], $this->dictionary['example']['errors']);
     $this->assertEquals('This is an error', $errors['test_exists']);
     $this->assertEquals('This already exists', $errors['test2_exists']);
 }