Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
FriendsModuleTest.php
1 <?php
2 /**
3  *
4  */
6 {
7 
8  public $tString = 'string';
9  public $encString = 'Andrew';
10 
11  public function testInit()
12  {
13  $this->assertNotNull(Yii::app()->getModule('friends'));
14  }
15 
16  public function testT()
17  {
18  $this->assertEquals(FriendsModule::t($this->tString), $this->tString);
19  }
20 
21  public function testEncrypt()
22  {
23  $this->assertNotEmpty(FriendsModule::encrypting($this->encString));
24  }
25 
26 
27 }