@Test
public void getAllParentModulesPaths() {

  assertThat(GradleUtil.getAllParentModulesPaths(":foo:buz")).containsExactly(":foo");
  assertThat(GradleUtil.getAllParentModulesPaths(":foo")).isEmpty();
  assertThat(GradleUtil.getAllParentModulesPaths(":")).isEmpty();
  assertThat(GradleUtil.getAllParentModulesPaths(":foo:bar:buz:lib")).containsExactly(":foo", ":foo:bar", ":foo:bar:buz");
}