Beispiel #1
0
 public function testString()
 {
     $this->assertEquals('hello-world', String::camelCaseToDash('HelloWorld'));
     $this->assertEquals('hello_world', String::camelCaseToUnderscore('HelloWorld'));
     $this->assertEquals('helloWorld', String::dashToCamelCase('hello-world'));
     $this->assertEquals('hello_world', String::dashToUnderscore('hello-world'));
 }