    @Test
    public void doesNotIncludeNonDomainParents() {

        List<Class<?>> hierarchicalClasses = Lists.newArrayList();
        hierarchicalClasses.add(Child.class);
        hierarchicalClasses.add(GrandChild.class);
        HierarchyScanner scanner = new HierarchyScanner(hierarchicalClasses);

        List<Edge> edges = scanner.getEdges();
        assertThat(edges, contains(childToGrandChild));
    }