コード例 #1
0
 /**
  * Test incoming arguments for getStatic.
  *
  * @param mixed $target
  *
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Target must be an object or string of class name.
  *
  * @dataProvider dpControlStaticInvalidArgument
  */
 public function testControlStaticInvalidArgument($target)
 {
     RC::getStatic($target);
 }