/** * 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); }