| 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()); |
||
| 40 |