### Question:
MoreStrings { static boolean hasLength(final CharSequence cs) { return cs != null && cs.length() > 0; } private  MoreStrings();   }### Answer:
@Test public void nonEmptyStringHasLength() throws Exception { assertThat(MoreStrings.hasLength("length"),equalTo(true)); }
@Test public void emptyStringHasNotLength() throws Exception { assertThat(MoreStrings.hasLength(""),equalTo(false)); }
@Test public void nullStringHasNotLength() throws Exception { assertThat(MoreStrings.hasLength((String)null),equalTo(false)); }