public function produces_default()
 {
     $r = new RestRoute('GET', '/resource', $this->handler, $this->target, null, null);
     $this->assertEquals(['text/json'], $r->getProduces((array) 'text/json'));
 }