@expectedException \InvalidArgumentException
public function testLocateResourceThrowsExceptionWhenResourceDoesNotExist() {
$kernel = $this
->getKernel();
$kernel
->expects($this
->once())
->method('getBundle')
->will($this
->returnValue(array(
$this
->getBundle(__DIR__ . '/Fixtures/Bundle1Bundle'),
)));
$kernel
->locateResource('@Bundle1Bundle/config/routing.xml');
}