@Test public void testFirstReadNextWrite() { log.debug("test first read next write============begin"); User user = genUser(); userService.save(user); // 1 choice write datasource user = userService.findById(user.getId()); // 2 choice read datasource userService.delete(user.getId()); // 3 choice write datasource log.debug("test first read next write============end"); }
@Test public void testOnlyRead() { log.debug("test only read============begin"); userService.findById(1); log.debug("test only read============end"); }