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