コード例 #1
0
 /**
  * @param string $input
  * @param string $expected
  *
  * @dataProvider testRenderStaticDataProvider
  * @test
  */
 public function testRenderStatic($input, $expected)
 {
     $context = $this->getMock(RenderingContextInterface::class);
     $this->assertEquals($expected, SpacelessViewHelper::renderStatic([], function () use($input) {
         return $input;
     }, $context));
 }