7 $stmts[0]->setAttribute('comments', []);
19 $comments = $stmts[1]->getComments();
20 $comments[] = new Comment("// foo");
21 $stmts[1]->setAttribute('comments', $comments);
34 * @expectedException \FooException
36 public function test() {
41 $method = $stmts[0]->stmts[0];
42 $method->setAttribute('comments', [new Comment\Doc("/**\n *\n */")]);
49 public function test() {