Exemple #1
0
 /**
  * @test
  */
 public function setHtmlMessageWithCssFileStoredStoresAttributesFromCssInHtmlMessage()
 {
     $this->subject->setCssFile(t3lib_extMgm::extPath('oelib') . 'Tests/Unit/Fixtures/test.css');
     $this->subject->setHTMLMessage('<html>' . '<head><title>foo</title></head>' . '<body><h3>Bar</h3></body>' . '</html>');
     self::assertSame('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"' . ' "http://www.w3.org/TR/REC-html40/loose.dtd">' . LF . '<html>' . LF . '<head><title>foo</title></head>' . LF . '<body><h3 style="font-weight: bold;">Bar</h3></body>' . LF . '</html>', $this->subject->getHTMLMessage());
 }