Cviebrock\EloquentSluggable\Tests\ScopeHelperTests::testFindBySlugReturnsNullForNoRecord PHP Method

testFindBySlugReturnsNullForNoRecord() public method

Test finding a model by its primary slug fails if the slug does not exist.
    public function testFindBySlugReturnsNullForNoRecord()
    {
        $this->assertNull(PostWithMultipleSlugsAndHelperTrait::findBySlug('not a real record'));
    }