public function testUpdateBody() { $function = $this->functionWithReturnStatement(); $this->assertEquals($function, $function->updateBody($function->getBodyExpressions())); }