Пример #1
0
 public function testIdProperties()
 {
     $this->assertEquals(['postId'], $this->mapping->getIdProperties());
     $this->mapping->addIdProperty('userId');
     $this->assertEquals(['postId', 'userId'], $this->mapping->getIdProperties());
 }