public function testPresent($format, $file) { $Youtube = new Youtube($format); $this->assertEquals("http://i1.ytimg.com/vi/5jmjBXoyugM/{$file}.jpg", $Youtube->present($this->Media)->get('thumbnailUrl')); }