public function setup() { $this->OEmbed = new OEmbed(new NativeHttpClient(), new NativeDomDocument()); $this->OEmbed->setEndpoint('file://' . ESSENCE_HTTP . ':url.json'); }