@Test public void insertUser() throws Exception{ User user= new User(); user.setUsername("zhonghua"); userService.insertUser(user); }
public void setUsername(String username) { this.username = username; }
User { public void setUsername(String username) { this.username = username; } }
User { public void setUsername(String username) { this.username = username; } User(); }
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); }
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);  }