findAllByName() public method

Returns an array with the datasources with the passed name.
public findAllByName ( string $name ) : array
$name string Name of the datasource to return
return array The datasources with the name passed as parameter
 /**
  * Test if the findAllByName() method returns the correct number of elements.
  *
  * @return null
  */
 public function testFindAllByName()
 {
     $this->assertCount(0, $this->service->findAllByName('api'));
 }