getDevice() публичный Метод

Get a single engine data array
public getDevice ( string $device ) : Device
$device string
Результат Device
Пример #1
0
 /**
  * @expectedException \OutOfBoundsException
  * @expectedExceptionMessage Device "NotExists" does not exist in data, available devices:
  *
  * @group data
  * @group sourcetest
  */
 public function testGetDeviceThrowsExceptionIfDeviceDoesNotExist()
 {
     $this->object->addDevicesFile($this->getDevicesJsonFixture());
     $this->object->getDevice('NotExists');
 }