public function testExtractUnsupportedFormat() { $this->OEmbed->setFormat('unsupported'); $this->setExpectedException('Exception'); $this->OEmbed->extract('valid'); }