public function let() { $document = DOMDocumentStub::getDocument(); $this->beConstructedWith($document); }
public function let() { $document = UrlDocument::build(DOMDocumentStub::getDocument(), 'http://simplegifts.co'); $analyzer = new StubFileSizeAnalyzer(); $this->beConstructedThrough('load', [$document, $analyzer]); }