| 1 | <?php |
||
| 17 | */ |
||
| 18 | class GcmReceiverTest extends \PHPUnit_Framework_TestCase |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var GcmReceiver |
||
| 22 | */ |
||
| 23 | protected $receiver; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function setUp() |
||
| 29 | { |
||
| 30 | $this->receiver = new GcmReceiver('f59c88b12035278b86f26d448835939a'); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @expectedException \InvalidArgumentException |
||
| 35 | */ |
||
| 36 | public function testBadToken() |
||
| 37 | { |
||
| 41 |