@Test public void testClientAnnounce() { System.out.println("clientAnnounce"); User bean = user; System.out.println(bean.getDownloadByte()); System.out.println(bean.getUploadByte()); ClientAnnounce clientAnnounce = new ClientAnnounce(); clientAnnounce.setDownloadByte(100l); clientAnnounce.setUploadByte(100l); User result = userService.clientAnnounce(bean, clientAnnounce); System.out.println(result.getDownloadByte()); System.out.println(result.getUploadByte()); }
@After public void tearDown() { System.out.println("tearDown"); userService.deleteById(user.getUid()); }
@Before public void setUp() { System.out.println("setUp"); userService.save(user); }