public function testSetGetBody() { $body = 'my test body'; $this->serializer->expects($this->never())->method('serialize'); $this->request->setBody($body); $this->assertNull($this->request->getBody()); }