8081828384858687888990919293
conn.commit(); conn.close(); } // user-service IUserService service = (IUserService) context.getBean("user-service"); User user = new User(); user.setName("xx"); service.addUser(user); TestFilter filter = (TestFilter) context.getBean("test-filter"); Assert.assertEquals(2, filter.getConnectCount()); {