@PublicAPI(usage = ACCESS)
    public JavaClasses importPackagesOf(Class<?>... classes) {
        return importPackagesOf(ImmutableSet.copyOf(classes));
    }
@Test
    @UseDataProvider("array_types")
    public void adds_package_of_component_type_to_arrays(Class<?> classAccessingArray) {
        JavaClass javaClass = new ClassFileImporter().importPackagesOf(classAccessingArray)
                .get(classAccessingArray);

        JavaClass arrayType = getOnlyElement(javaClass.getFieldAccessesFromSelf()).getTarget().getRawType();

        assertThat(arrayType.getPackageName()).isEqualTo(ClassUsedInArray.class.getPackage().getName());
        assertThat(arrayType.getPackage().getName()).isEqualTo(ClassUsedInArray.class.getPackage().getName());
    }