Alex Bilbie | 526d88f | 2012-10-16 18:19:30 +0100 | [diff] [blame] | 1 | <?php |
2 | |||||
3 | class Language_helper_test extends CI_TestCase { | ||||
4 | |||||
5 | public function test_lang() | ||||
6 | { | ||||
7 | $this->helper('language'); | ||||
8 | $this->ci_instance_var('lang', new Mock_Core_Lang()); | ||||
9 | |||||
10 | $this->assertFalse(lang(1)); | ||||
11 | $this->assertEquals('<label for="foo"></label>', lang(1, 'foo')); | ||||
12 | } | ||||
13 | |||||
14 | } |