*/
@Test
public void testGetSources() throws IOException {
ApplicationContext applicationContext = createMock(ApplicationContext.class);
ApplicationResource resource1 = createMock(ApplicationResource.class);
expect(resource1.getLocale()).andReturn(Locale.ROOT);
ApplicationResource resource2 = createMock(ApplicationResource.class);
expect(resource2.getLocale()).andReturn(Locale.ITALY);
ApplicationResource resource3 = createMock(ApplicationResource.class);
expect(resource3.getLocale()).andReturn(Locale.ROOT);
Collection<ApplicationResource> resourceSet1 = new HashSet<ApplicationResource>();
resourceSet1.add(resource1);
resourceSet1.add(resource2);