### Question:
UserService { @Transactional(propagation = Propagation.REQUIRES_NEW) public User queryUserById(long id) { return userDao.getUser(id); }  User getUserById(long id); void insert(User user); @Transactional(propagation = Propagation.REQUIRED) void insert2(User user); @Transactional(propagation = Propagation.REQUIRES_NEW) User queryUserById(long id); List<User> queryByName(String nameLike);  }### Answer:
@Test public void testQueryUser() { userService.queryUserById(1); userService.queryUserById(1); }
@Test public void queryUserById(){ userService.queryUserById(1); }