public function testInvalidJsonPostWithHelper() { $this->setExpectedException('UnexpectedValueException'); $method = Method::BOGUS(); }