コード例 #1
0
 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'));
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  * @param String $serviceName
  */
 public function __construct($serviceName, $options = null)
 {
     parent::__construct($options);
     $this->setName($serviceName);
 }