public function testClassProperty() { $this->assertEquals('myClassProperty', StringFormat::classProperty('myClassProperty')); $this->assertEquals('myClassProperty', StringFormat::classProperty('my-class-Property')); $this->assertEquals('myClassProperty', StringFormat::classProperty('my Class Property')); $this->assertEquals('myClassProperty', StringFormat::classProperty('my %^&* Class Property')); $this->assertEquals('myClassProperty', StringFormat::classProperty('my____Class Property')); $this->assertEquals('myClassProperty', StringFormat::classProperty('my/Class Property')); }