MCPcopy Index your code
hub / github.com/OpenFeign/feign / removesEmptyStrings

Method removesEmptyStrings

core/src/test/java/feign/UtilTest.java:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41class UtilTest {
42
43 @Test
44 void removesEmptyStrings() {
45 String[] values = new String[] {"", null};
46 assertThat(removeValues(values, value -> emptyToNull(value) == null, String.class)).isEmpty();
47 }
48
49 @Test
50 void removesEvenNumbers() {

Callers

nothing calls this directly

Calls 4

isEmptyMethod · 0.80
removeValuesMethod · 0.80
emptyToNullMethod · 0.80
assertThatMethod · 0.45

Tested by

no test coverage detected