public function testAutomaticAliasing() { $query = new Query(array('type' => 'read', 'model' => $this->_model)); $this->assertEqual('MockQueryPost', $query->alias()); }