ParamAnnotationHandler extends StringBasedAnnotationHandler<T> { protected String nullIfUnset(String value){ return value.length() > 0 ? value : null; } ParamAnnotationHandler(CRestConfig crestConfig);   }
@Test public void nullIfUnsetShouldReturnNullIfEmpty(){ assertNull(toTest.nullIfUnset("")); }
@Test public void nullIfUnsetShouldReturnValueIfNotEmpty(){ assertEquals("a", toTest.nullIfUnset("a")); }