예제 #1
0
 public function testClearBody()
 {
     $this->method->setBody("\$foo = 'bar';");
     $this->method->clearBody();
     $this->assertSame('', $this->method->getBody());
 }