1 | <?php |
||
12 | class JsonpEncoderTest extends AbstractEncoderTest |
||
13 | { |
||
14 | /** |
||
15 | * Returns the encoder to be tested. |
||
16 | * @return \Vectorface\SnappyRouter\Encoder\AbstractEncoder Returns an instance of an encoder. |
||
17 | */ |
||
18 | public function getEncoder() |
||
25 | |||
26 | /** |
||
27 | * A data provider for the testEncode method. |
||
28 | */ |
||
29 | public function encodeProvider() |
||
38 | |||
39 | /** |
||
40 | * Tests that an exception is thrown if the client method is missing from |
||
41 | * the options. |
||
42 | * @expectedException Exception |
||
43 | * @expectedExceptionMessage Client method missing from plugin options. |
||
44 | */ |
||
45 | public function testMissingClientMethodThrowsException() |
||
49 | } |
||
50 |