getProperties() public method

public getProperties ( ) : string[]
return string[]
Beispiel #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());
 }
Beispiel #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());
 }