protected function setUp() { $this->options = $this->getMockForAbstractClass('Detail\\Core\\Options\\AbstractOptions', array(), '', true, true, true, array('getKnown')); $this->options->expects($this->any())->method('getKnown')->will($this->returnValue('test')); }
/** * {@inheritDoc} * @param String $serviceName */ public function __construct($serviceName, $options = null) { parent::__construct($options); $this->setName($serviceName); }