public function testOnlyValid() { $input = '%foo!bar-'; $expected = 'foobar'; $this->assertEquals($expected, KeyNormalizer::onlyValid($input)); }