| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 14 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 13 | public function testDefaultTranslatorWithIntl(): void  | 
            ||
| 14 |     { | 
            ||
| 15 | $data = ['number' => 3];  | 
            ||
| 16 | $rules = [  | 
            ||
| 17 | 'number' => new Number(  | 
            ||
| 18 | asInteger: true,  | 
            ||
| 19 | max: 2,  | 
            ||
| 20 |                 tooBigMessage: '{value, selectordinal, one{#-one} two{#-two} few{#-few} other{#-other}}', | 
            ||
| 21 | ),  | 
            ||
| 22 | ];  | 
            ||
| 23 | $validator = new Validator();  | 
            ||
| 24 | |||
| 25 | $result = $validator->validate($data, $rules);  | 
            ||
| 26 | $this->assertSame(['number' => ['3-few']], $result->getErrorMessagesIndexedByPath());  | 
            ||
| 27 | }  | 
            ||
| 29 |