File[] locations = new File[] {
canonicalFile(TEST_ROOT, "dir1"),
canonicalFile(TEST_ROOT, "dir2"),
};
ProfileSpec profileSpec = mock(ProfileSpec.class);
List<AbstractProfileResource> resources = buildRecursiveDirectoryResources(locations);
when(profileSpec.getResources()).thenReturn(resources);
ProfileInstance profile = mock(ProfileInstance.class);
when(profile.getProfileSpec()).thenReturn(profileSpec);
ProfileSpecWalkerImpl walker = new ProfileSpecWalkerImpl();