assertTrue(resources[1].exists());
}
@Test
public void getResource_noResourceLoadingService() throws Exception {
context.setResourceLoadingExtender(new ResourceLoadingSupport(context, "nonExistId"));
initContext("beans.xml");
// resourceLoadingService[id=nonExistId]�����ڣ�ʹ��Ĭ�ϵĻ���װ����Դ
Resource resource = context.getResource("beans.xml");
assertThat(resource, instanceOf(ServletContextResource.class));