StringPattern { public boolean isAllLowerCaseLetter() { return (pattern & ALL_LOWERCASE_LETTER) > 0; } private  StringPattern(int pattern, int digits); boolean isAllLetter(); boolean isInitialCapitalLetter(); boolean isAllCapitalLetter(); boolean isAllLowerCaseLetter(); boolean isAllDigit(); int digits(); boolean containsPeriod(); boolean containsComma(); boolean containsSlash(); boolean containsDigit(); boolean containsHyphen(); boolean containsLetters(); static StringPattern recognize(String token);  }
@Test public void testIsAllLowerCaseLetter() { assertTrue(StringPattern.recognize("test").isAllLowerCaseLetter()); assertTrue(StringPattern.recognize("öäü").isAllLowerCaseLetter()); assertTrue(StringPattern.recognize("öäüßßß").isAllLowerCaseLetter()); assertFalse(StringPattern.recognize("Test").isAllLowerCaseLetter()); assertFalse(StringPattern.recognize("TEST").isAllLowerCaseLetter()); assertFalse(StringPattern.recognize("testT").isAllLowerCaseLetter()); assertFalse(StringPattern.recognize("tesÖt").isAllLowerCaseLetter()); }