Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class CallbackTest extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | public function testSerializerMustHaveSerializeMethod() |
||
10 | { |
||
11 | $callback = new Callback(); |
||
12 | $this->setExpectedException('RuntimeException', 'The serializer must have a "serialize" method.'); |
||
|
|||
13 | $callback->setSerializer(new \stdClass()); |
||
47 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.