public static function limitSlugSize($slug, $incrementReservedSpace = 3)
 {
     return parent::limitSlugSize($slug, $incrementReservedSpace);
 }
 public function testQueryFindOneBySlug()
 {
     $this->assertFalse(method_exists('\\Propel\\Tests\\Bookstore\\Behavior\\Table13Query', 'findOneBySlug'), 'The generated query does not provide a findOneBySlug() method if the slug column is "slug".');
     $this->assertTrue(method_exists('\\Propel\\Tests\\Bookstore\\Behavior\\Table14Query', 'findOneBySlug'), 'The generated query provides a findOneBySlug() method even if the slug column doesn\'t have the default name');
     Table14Query::create()->deleteAll();
     $t1 = new Table14();
     $t1->setTitle('Hello, World');
     $t1->save();
     $t2 = new Table14();
     $t2->setTitle('Hello, Cruel World');
     $t2->save();
     $t = Table14Query::create()->findOneBySlug('/foo/hello-world/bar');
     $this->assertEquals($t1, $t, 'findOneBySlug() returns a single object matching the slug');
 }