/**
  * @expectedException ReflectionException
  */
 public function test_has_many_through_with_invalid_class_name()
 {
     Event::$belongs_to = array(array('host'));
     Venue::$has_one = array(array('invalid_assoc'));
     Venue::$has_many[1] = array('hosts', 'through' => 'invalid_assoc');
     $this->get_relationship()->hosts;
 }