/**
* @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();
}