@Test
public void isDirectChild() {

  assertTrue(GradleUtil.isDirectChild(":app", ":"));
  assertTrue(GradleUtil.isDirectChild(":libs:lib1", ":libs"));
  assertTrue(GradleUtil.isDirectChild(":libs:java:lib2", ":libs:java"));
  assertFalse(GradleUtil.isDirectChild(":", ":"));
  assertFalse(GradleUtil.isDirectChild(":libs:lib1", ":"));
  assertFalse(GradleUtil.isDirectChild(":libs", ":app"));
  assertFalse(GradleUtil.isDirectChild(":libs:lib1", ":app"));
  assertFalse(GradleUtil.isDirectChild(":libs:java:lib2", ":libs"));
  assertFalse(GradleUtil.isDirectChild(":libs:android:lib3", ":libs:java"));
  assertFalse(GradleUtil.isDirectChild(":app", ":app"));
}