Ejemplo n.º 1
0
 /**
  *
  *
  */
 public function testPlurals()
 {
     $poparser = new PoParser();
     try {
         $result = $poparser->read(__DIR__ . '/pofiles/plurals.po');
         $headers = $poparser->getHeaders();
         $this->assertCount(7, $headers);
         $this->assertCount(15, $result);
     } catch (\Exception $e) {
         $this->fail($e->getMessage());
     }
 }