Exemple #1
0
 public function accept(AggregatorVisitor $v)
 {
     return $v->visit($this);
 }
 public function testUnableToVisitForScalar()
 {
     $this->setExpectedExceptionRegExp(UnableToPresentByVisitor::class);
     $this->scalarPresenter->visit(new UnsupportedAggregator());
 }