@Test
public void testDiscoverUserByScreenName() throws Exception {

    ResponseEntity<User> user1 = restTemplate.getForEntity("http://localhost:" + port + "/v1/user/bingohuang", User.class);
    assertEquals(HttpStatus.OK, user1.getStatusCode());
    ResponseEntity<User> user2 = restTemplate.getForEntity("http://localhost:" + port + "/v1/user/163yun", User.class);
    assertEquals(HttpStatus.OK, user2.getStatusCode());
    ResponseEntity<User> user3 = restTemplate.getForEntity("http://localhost:" + port + "/v1/user/huangqingbing", User.class);
    assertEquals(HttpStatus.OK, user3.getStatusCode());
}