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