DependencySortOrder { @Override public String toString() { return "DependencySortOrder{" + "childElementNames=" + getChildElementNames() + '}'; } DependencySortOrder(String childElementNameList); Collection<String> getChildElementNames(); boolean isDeprecatedValueTrue(); boolean isDeprecatedValueFalse(); boolean isNoSorting(); @Override String toString();  }
@Test void emptySortOrderShouldWork() { assertThat(new DependencySortOrder(null).toString(), is("DependencySortOrder{childElementNames=[]}")); assertThat(new DependencySortOrder("").toString(), is("DependencySortOrder{childElementNames=[]}")); }
@Test void singleSortOrderShouldWork() { assertThat(new DependencySortOrder("Gurka").toString(), is("DependencySortOrder{childElementNames=[Gurka]}")); }
@Test void multipleSortOrderShouldWork() { assertThat(new DependencySortOrder("Gurka,Tomat,Melon").toString(), is("DependencySortOrder{childElementNames=[Gurka, Tomat, Melon]}")); }