public function testSimpleSlug() { $post = Post::create(['title' => 'My First Post']); $this->assertEquals('my-first-post', $post->slug); }