UserService { public User selectUser(int id) { return userMapper.select(id); }  @Transactional("slaveTransactionManager") void inserUser(String username, String password); User selectUser(int id);  }
@Test public void selectUser() { User user = userService.selectUser(4); System.out.println("ending!"); }