/**
  * @expectedException \Thru\ActiveRecord\DatabaseLayer\Exception
  * @expectedExceptionMessage Active Record Cannot delete from more than one table at a time!
  */
 public function testDeleteFromTwoTablesFails()
 {
     $delete = new DatabaseLayer\Delete("test_models");
     $delete->setTables(array("tm" => new DatabaseLayer\Table("test_models"), "tmb" => new DatabaseLayer\Table("test_model_bad")));
     $delete->execute();
 }