@Test
public void getDDMultipleModulesAvoidDuplicates() {

    final Delivery delivery = DataModelFactory.createDelivery(
            SAMPLE_NAME,
            SAMPLE_VERSION,
            "Today",
            Arrays.asList("one", "two"));
    final DbModule m1 = makeModule("one");
    final DbModule m2 = makeModule("two");
    final RepositoryHandler repoHandler = makeRepoHandler(m1, m2);
    final DependencyHandler depHandler = mock(DependencyHandler.class);
    withDeps(depHandler, "one", "one_a", "common_dep");
    withDeps(depHandler, "two", "two_a", "two_b", "common_dep");
    final DataFetchingUtils sut = new DataFetchingUtils();
    // Act
    final Set<String> results = sut.getDeliveryDependencies(repoHandler, depHandler, delivery);
    // Assert
    assertEquals(2 + 3 - 1, results.size());
    assertTrue(results.contains(makeGAVC("one_a")));
    assertTrue(results.contains(makeGAVC("two_a")));
    assertTrue(results.contains(makeGAVC("two_b")));
    assertTrue(results.contains(makeGAVC("common_dep")));
}