예제 #1
0
 /**
  * @dataProvider isAllowedMethodProvider
  */
 public function testIsAllowedMethod($method, $expected)
 {
     $id = 1;
     $name = 'Libcaca';
     $l = new Language();
     $l->setId($id);
     $l->setName($name);
     $this->assertEquals($expected, $l->isAllowedMethod($method));
 }