Ejemplo n.º 1
0
 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());
 }