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