@Test public void testIsValidEntityName$invalid() throws Exception { assertThat(TermUtils.isValidEntityName("invalid name"),equalTo(false)); }
static boolean isValidEntityName(String string) { if(string==null) { return false; } return Pattern.matches("^[\\p{javaLowerCase}\\p{javaUpperCase}]+$", string); }
TermUtils { static boolean isValidEntityName(String string) { if(string==null) { return false; } return Pattern.matches("^[\\p{javaLowerCase}\\p{javaUpperCase}]+$", string); } }
TermUtils { static boolean isValidEntityName(String string) { if(string==null) { return false; } return Pattern.matches("^[\\p{javaLowerCase}\\p{javaUpperCase}]+$", string); } private  TermUtils(); }
TermUtils { static boolean isValidEntityName(String string) { if(string==null) { return false; } return Pattern.matches("^[\\p{javaLowerCase}\\p{javaUpperCase}]+$", string); } private  TermUtils();  }
TermUtils { static boolean isValidEntityName(String string) { if(string==null) { return false; } return Pattern.matches("^[\\p{javaLowerCase}\\p{javaUpperCase}]+$", string); } private  TermUtils();   }