public function testPreDelete()
 {
     $max = Table12Peer::getMaxRank(1);
     $t3 = Table12Peer::retrieveByRank(3, 1);
     $t3->delete();
     $this->assertEquals($max - 1, Table12Peer::getMaxRank(1), 'Sortable rearrange subsequent rows on delete');
     $c = new Criteria();
     $c->add(Table12Peer::TITLE, 'row4');
     $t4 = Table12Peer::doSelectOne($c);
     $this->assertEquals(3, $t4->getRank(), 'Sortable rearrange subsequent rows on delete');
     $expected = array(1 => 'row5', 2 => 'row6');
     $this->assertEquals($expected, $this->getFixturesArrayWithScope(2), 'delete() leaves other suites unchanged');
 }