Ejemplo n.º 1
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct('-');
 }
 /**
  * @dataProvider getEdgeCases
  *
  * @param string $string
  * @param string $separator
  * @param string $expected
  * @return array
  */
 public function testEdgeCases($string, $separator, $expected)
 {
     $camel_case_to_separator = new CamelCaseToSeparator();
     $this->assertEquals($expected, $camel_case_to_separator->apply($string, $separator));
 }