@Test
	public void testDuplication() {
		Map<String, Object> returnJson = userApiController.checkDuplication("not-exist");
		assertTrue((Boolean) returnJson.get(JSON_SUCCESS));

		returnJson = userApiController.checkDuplication(getTestUser().getUserId());
		assertFalse((Boolean) returnJson.get(JSON_SUCCESS));
	}
Test method for
{@link UserApiController#checkDuplication(String)}
.
ngrinder-controller/src/test/java/org/ngrinder/user/controller/UserControllerTest.java