public function testMultipleSlugs() { $post = new PostWithMultipleSlugs(['title' => 'My Test Post', 'subtitle' => 'My Subtitle']); $post->save(); $this->assertEquals('my-test-post', $post->slug); $this->assertEquals('my.subtitle', $post->dummy); }