public class ResourcesServiceImplTest {
@Test
public void test() {
ApplicationContext ctx = new ClassPathXmlApplicationContext("spring-*.xml");
ResourcesServiceImpl bean = (ResourcesServiceImpl)ctx.getBean("resourcesService");
bean.findAll();
bean.getById("1");
bean.getUserResources("1");
}