示例#1
0
 public function testMatchesLowerCase()
 {
     $this->assertFalse(NameUtilities::matchesLowerCase('camelCaseString'));
     $this->assertFalse(NameUtilities::matchesLowerCase('StudlyCapsString'));
     $this->assertFalse(NameUtilities::matchesLowerCase('dashed-lower-string'));
     $this->assertFalse(NameUtilities::matchesLowerCase('underscore_lower_string'));
     $this->assertFalse(NameUtilities::matchesLowerCase('Underscore_Caps_String'));
     $this->assertTrue(NameUtilities::matchesLowerCase('lower case string'));
     $this->assertFalse(NameUtilities::matchesLowerCase('Title Case String'));
     $this->assertFalse(NameUtilities::matchesLowerCase('This One Isn\'t Easy - A Test Case @ sitegear.org'));
 }