Beispiel #1
0
 /**
  * testRender
  *
  * @since 3.0.0
  *
  * @param string $append
  * @param string $prepend
  * @param string $expect
  *
  * @dataProvider providerInline
  */
 public function testRender($append = null, $prepend = null, $expect = null)
 {
     /* setup */
     $style = Head\Style::getInstance();
     $style->appendInline($append)->prependInline($prepend);
     /* actual */
     $actual = $style;
     /* compare */
     $this->assertEquals($expect, $actual);
 }
Beispiel #2
0
 /**
  * style
  *
  * @since 3.0.0
  *
  * @return object
  */
 public static function style()
 {
     return Head\Style::getInstance();
 }