/** * @dataProvider getInvalidProvider * @expectedException InvalidArgumentException * @expectedExceptionMessage Invalid JSON String * @param string|null $input */ public function testGetListInvalidInput($input) { $result = PayPalModel::getList($input); }