public function testStrToSnakeCase() { $string = new Str('camelCase'); $this->assertEquals('camel_case', $string->snakeCase()); }