return [ [static::DEFAULT_EXCEPTION_MESSAGE, ''
],
['test', 'test'
],
];
} /**
* @covers ::__construct
* @dataProvider providerTestExceptionMessage
*/
public function testExceptionMessage($expected,
$message) { $e =
new RowCountException($message);
$this->
assertSame($expected,
$e->
getMessage());
} /**
* @covers ::__construct
* @group legacy
*/
public function testExceptionMessageNull() { $e =
new RowCountException(NULL
);
$this->
assertSame(static::DEFAULT_EXCEPTION_MESSAGE,
$e->
getMessage());
}}