/** * @testdox encode() tests * @dataProvider getEncodeTests */ public function testEncode($original, $expected) { $stylesheetCompressor = new StylesheetCompressor(); $this->assertSame($expected, $stylesheetCompressor->encode($original)); }
/** * Return the JavaScript representation of the stylesheet * * @return string */ protected function getStylesheet() { return $this->stylesheetCompressor->encode($this->xsl); }