Пример #1
0
 @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());
 }
Пример #2
0
 @After
 public void tearDown() {
   System.out.println("tearDown");
   userService.deleteById(user.getUid());
 }
Пример #3
0
 @Before
 public void setUp() {
   System.out.println("setUp");
   userService.save(user);
 }