Beispiel #1
0
 /**
  * @param string $expected
  * @param null|array $properties
  * @dataProvider providerProcess
  */
 public function testProcess($expected, $properties = null)
 {
     $this->snippet->setCacheable(false);
     $result = $this->snippet->process($properties);
     $this->assertEquals($expected, $result, 'After processing the snippet, the expected result was different than the actual result.');
 }