### Question:
EjbHelper { public static boolean hasClassifier( String classifier ) { boolean result = false; if ( classifier != null && classifier.trim().length() > 0 ) { result = true; } return result; } private  EjbHelper(); static boolean isClassifierValid( String classifier ); static boolean hasClassifier( String classifier ); static File getJarFile( File basedir, String finalName, String classifier );  }### Answer:
@Test public void hasClassifierShouldReturnFalseForNull() { assertThat( EjbHelper.hasClassifier( null ) ).isFalse(); }
@Test public void hasClassifierShouldReturnFalseForEmptyString() { assertThat( EjbHelper.hasClassifier( "" ) ).isFalse(); }
@Test public void hasClassifierShouldReturnTrueForNonEmptyString() { assertThat( EjbHelper.hasClassifier( "x" ) ).isTrue(); }