public function testBody() { $body = "foo"; $ct = "bar"; $update = new Update(); $update->body($body)->contentType($ct); $this->assertSame($body, $update->getBody()); $this->assertSame($ct, $update->getContentType()); }