1 | <?php |
||
18 | class MessageTest extends TestCase |
||
19 | { |
||
20 | /** |
||
21 | * @test |
||
22 | * |
||
23 | * @expectedException \InvalidArgumentException |
||
24 | * @expectedExceptionMessage The custom data value should be a scalar or \JsonSerializable instance, but "stdClass" given. |
||
25 | */ |
||
26 | public function shouldThrowExceptionIfTrySetInvalidCustomData() |
||
31 | } |
||
32 |