getProperties() public méthode

public getProperties ( ) : string[]
Résultat string[]
Exemple #1
0
 /**
  * tests setter and getter for the engine properties
  *
  * @group data
  * @group sourcetest
  */
 public function testGetProperties()
 {
     $properties = array('abc' => 'def');
     $object = new Engine($properties);
     self::assertSame($properties, $object->getProperties());
 }
Exemple #2
0
 /**
  * tests setter and getter for the engine properties
  *
  * @group data
  * @group sourcetest
  */
 public function testSetGetProperties()
 {
     $properties = array('abc' => 'def');
     self::assertSame($this->object, $this->object->setProperties($properties));
     self::assertSame($properties, $this->object->getProperties());
 }