private static void assertNotEmpty(String message,String string){
  assertNotNull(message,string);
  assertFalse(message,string.equals(""));
}

private static void assertNotEmpty ( String message , String string ) { assertNotNull ( message , string ) ; assertFalse ( message , string . equals ( "" ) ) ; }
asserts that a string is non - null and non - empty . if it is not , an assertionfailederror is thrown with the given message .
