Goose\Tests\Harness\TestTrait::generate PHP Method

generate() private method

private generate ( string $html ) : Goose\Article
$html string
return Goose\Article
    private function generate($html)
    {
        $article = new Article();
        $article->setDoc($this->document($html));
        return $article;
    }