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

public checkProperty ( string $key, array $properties ) : boolean
$key string
$properties array
Результат boolean
Пример #1
0
 /**
  * tests if no error is raised if all went well
  *
  * @group data
  * @group sourcetest
  */
 public function testCheckPropertyOk()
 {
     $this->object->setLogger($this->logger);
     $properties = array('Version' => 'abc', 'Parent' => '123', 'Device_Type' => 'Desktop', 'isTablet' => false, 'isMobileDevice' => false);
     self::assertTrue($this->object->checkProperty('test', $properties));
 }