public function testRealizeRequestBodyIfMethodIsNotAbstract() { $this->method->setAbstract(false); $this->funcRealizerMock->expects($this->any())->method('realize')->with($this->anything(), true); $this->methodRealizer->realize($this->method); }
/** * Returns the variable to inject in the template * * @param Method $method * @return array */ private function getTmplVars(Method $method) { return array('modifiers' => $this->getModifiersString($method), 'function' => $this->funcRealizer->realize($method, !$method->isAbstract())); }