public function testJsonEncodeWorksWithoutContentAvailableFlag() { $body = '{"to":"deviceId","priority":"high"}'; $this->fixture->addRecipient(new Device('deviceId')); $this->assertSame($body, json_encode($this->fixture)); }