public function testParseInvalid() { $this->setExpectedException('Exception'); Json::parse($this->invalid); }