Example #1
0
 /**
  * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
  */
 public function testFindManyNoWorkflow()
 {
     $this->extension = new CmfHelper(null, $this->managerRegistry, 'foo');
     $documentA = new \stdClass();
     $this->manager->expects($this->any())->method('find')->with(null, '/foo')->will($this->returnValue($documentA));
     $this->extension->findMany(array('/foo', '/bar'), false, false);
 }