public function testCustomSuffix()
{
for ($i = 0; $i < 20; $i++) {
$post = PostWithCustomSuffix::create(['title' => 'A Post Title', 'subtitle' => 'A Subtitle']);
if ($i === 0) {
$this->assertEquals('a-post-title', $post->slug);
} else {
$this->assertEquals('a-post-title-' . chr($i + 96), $post->slug);
}
}
}