protected function replaceRecord(&$stub)
    {
        $resource = $this->getResourceName();
        $stub = str_replace('DummyRecord', Str::classify(str_singular($resource)), $stub);

        return $this;
    }