public function testInvalidBodyThrowsException() { $this->messageOptions->setBody(new \stdClass()); }