예제 #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);
 }