public function testEmptyEncodeInJson() { $this->message->type("json"); $result = $this->message->body(null, array('encode' => true)); $this->assertIdentical("", $result); }