예제 #1
0
 public function testGetAllowedMethods()
 {
     $id = 1;
     $name = 'Libcaca';
     $l = new Language();
     $l->setId($id);
     $l->setName($name);
     $allowed = ['fetchAll'];
     $this->assertEquals($allowed, $l->getAllowedMethods());
 }