Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
First Steps unit tests Java
public void should_return_an_empty_string_when_list_to_convert_to_string_is_empty() {
String empty_string = "";
List<String> empty_list = new ArrayList<String>();
assertThat(Util.listToString(empty_list), is(empty_string));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment