public static function to_dfxp(Set $captions, $file = null) { $renderer = new DfxpRenderer(); return $renderer->render($captions, $file); }
public function test_render() { $captions = $this->_simple_captions_set(); $renderer = new DfxpRenderer(); $this->assertSame(trim($renderer->render($captions)), $this->_dfxp_string()); }