public function testNormalize() { $testStrings = ['Hello There', ' hello there ', ' HELLO , THERE ', 'HELLO,THERE']; foreach ($testStrings as $testString) { $this->assertEquals('hello there', SearchHelper::normalize($testString)); } }