User { public void setUsername(String username) { this.username = username; } User(); long getId(); void setId(long id); String getUsername(); void setUsername(String username); String getPassword(); void setPassword(String password);  }
@Test public void insertUser() throws Exception{ User user= new User(); user.setUsername("zhonghua"); userService.insertUser(user); }