InlineCss = new InlineCssLib(); $res = App::import('Vendor', 'CssToInline', array('file' => 'css_to_inline_styles' . DS . 'css_to_inline_styles.php')); $this->skipIf(!$res); parent::setUp(); } public function testProcess() { $res = $this->InlineCss->process($this->testHtml); $this->debug($this->testHtml); $this->debug($res); } public function testProcessAlternativeEngine() { //TODO } public function testProcessPlainPiece() { $html = 'blabla

Sample Page Title

Bacon ipsum dolor sit amet in cow elit, in t-bone qui meatloaf corned beef aute ullamco minim. Consequat swine short ribs pastrami jerky.

Some small note!

bla'; $res = $this->InlineCss->process($html); $this->debug($html); $this->debug($res); } public $testHtml = ' Example

Sample Page Title

Bacon ipsum dolor sit amet in cow elit, in t-bone qui meatloaf corned beef aute ullamco minim. Consequat swine short ribs pastrami jerky.

Some small note!

'; }