/**
  * test that a plugin model as the 'with' model doesn't have issues
  *
  * @return void
  */
 public function testDeleteLinksWithPLuginJoinModel()
 {
     $this->loadFixtures('Article', 'ArticlesTag', 'Tag');
     $Article = new Article();
     $Article->unbindModel(array('hasAndBelongsToMany' => array('Tag')), false);
     unset($Article->Tag, $Article->ArticleTags);
     $Article->bindModel(array('hasAndBelongsToMany' => array('Tag' => array('with' => 'TestPlugin.ArticlesTag'))), false);
     $this->assertTrue($Article->delete(1));
 }