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

This is not supported by the belongsTo relation
public getNew ( )
Пример #1
0
 /**
  * @group       BelongsToMany
  * @group       BelongsToManyGetNew
  * @covers      FOF30\Model\DataModel\Relation\BelongsToMany::getNew
  */
 public function testGetNew()
 {
     $model = new Groups(static::$container);
     $relation = new BelongsToMany($model, 'Parts');
     $this->setExpectedException('FOF30\\Model\\DataModel\\Relation\\Exception\\NewNotSupported');
     $relation->getNew();
 }