* {@link UserController#checkDuplication(String)}
* .
*/
@Test
public void testDuplication() {
BaseController ngrinderBaseController = new BaseController();
HttpEntity<String> rtnStr = userController.checkDuplication("not-exist");
assertThat(rtnStr.getBody(), is(ngrinderBaseController.returnSuccess()));
rtnStr = userController.checkDuplication(getTestUser().getUserId());
assertThat(rtnStr.getBody(), is(ngrinderBaseController.returnError()));
}