Exemplo n.º 1
0
 /**
  * @dataProvider validUrlProvider
  * @param string $input
  * @param string $expected
  */
 public function testShouldConvertNonAsciiStringToValidUrl($input, $expected)
 {
     $slug = $this->tester->grabServiceFromDi('slug');
     $this->assertEquals($expected, $slug->generate($input));
 }
Exemplo n.º 2
0
 protected function _before()
 {
     $this->facebook = $this->tester->grabServiceFromDi('facebook');
 }