getId() public method

public getId ( ) : string
return string
Beispiel #1
0
 public function testReadAccessorsReturnPropertiesValues()
 {
     $reference = 'user0';
     $instance = new \stdClass();
     $object = new SimpleObject($reference, $instance);
     $this->assertEquals($reference, $object->getId());
     $this->assertEquals($instance, $object->getInstance());
 }