@Test
public void should_remove_empty_folder() throws IOException {

    //given
    createFolder("beer", home.getId());
    final Folder beer = getFolder(home.getId(), "beer");
    //when
    final Response response = removeFolder(beer.getId());
    //then
    assertThat(response.getStatusCode(), is(204));
    final List<Folder> folders = getFolderChildren(home.getId());
    assertThat(folders, is(empty()));
}