コード例 #1
0
ファイル: Auth.php プロジェクト: robtuley/knotwerk
 function testSetRoleMethodHasAFluentInterface()
 {
     $role = new T_Role_Collection(array());
     $auth = new T_Auth(T_Auth::TOKEN, null, $role);
     $test = $auth->setRole($role);
     $this->assertSame($auth, $test);
 }