コード例 #1
0
 public function testToString()
 {
     $adapter = new Zend_Translate_Adapter_Array(array('msg1' => 'Message 1 (en)',
                                                       'msg2' => 'Message 2 (en)',
                                                       'msg3' => 'Message 3 (en)',
                                                      ));
     $this->assertEquals('Array', $adapter->toString());
 }