ItemValuesMap implements Serializable { public String concatMultiStringsWithBlank(String... keys) { StringBuilder result = new StringBuilder(); for (String key : keys) { if (has(key)) { result.append(getAsString(key)).append(" "); } } return result.toString().trim(); } ItemValuesMap();  ItemValuesMap(Map<String, Object> values); static ItemValuesMap fromJson(String json); void addItem(String itemKey, Object itemValue); void removeItem(String itemKey); void addBooleanItem(String itemKey, Boolean value); void addStringItem(String itemKey, String value); void addNumberItem(String itemKey, Number value); void addListItem(String itemkey, List value); void addLinkedHashMap(String itemKey, LinkedHashMap map); Object getAsObject(String key); Boolean getAsBoolean(String key); String getAsString(String key); Long getAsLong(String key); Integer getAsInt(String key); List<String> getAsList(String key); Map<String, Object> getValues(); List<Map<String, Object>> getChildrenAsJsonArray(String childName); LinkedHashMap<String, T> getChildrenAsLinkedHashMap(String childName); void addChild(String childName, Map<String, Object> child); int getChildrenSize(String childName); ItemValuesMap getChildAsItemValues(String childName, int index); void addChildren(String childName, List<Map<String, Object>> children); boolean has(String key); String concatMultiStringsWithBlank(String... keys); ItemValuesMap copy();  }
@Test public void should_concat_multi_string_with_blank_when_no_one_exist_and_empty_key() throws Exception { assertThat(new ItemValuesMap().concatMultiStringsWithBlank(),is("")); }
@Test public void should_concat_multi_string_with_blank_when_no_one_exist() throws Exception { assertThat(new ItemValuesMap().concatMultiStringsWithBlank(FULL_NAME),is("")); }