Gettext::testBasic()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
/*
4
 * To change this license header, choose License Headers in Project Properties.
5
 * To change this template file, choose Tools | Templates
6
 * and open the template in the editor.
7
 */
8
9
namespace hemio\form;
10
11
/**
12
 * Test gettext features
13
 *
14
 * @author Michael Herold <[email protected]>
15
 */
16
class Gettext extends \Helpers {
17
18
    public function testBasic() {
19
        $doc = self::getDocumentBody();
20
        $doc->addChild(_('Basic test string'));
21
22
        $this->_assertEqualsXmlFile($doc, 'gettextBasic.html');
23
    }
24
25
}
26