@Test
public void cleanRegistrationTest() throws Exception {

	this.mockMvc
			.perform(MockMvcRequestBuilders.post(VEN_URL + "mouaiccool/cleanRegistration")
					.header("Content-Type", "application/json").with(adminSession))
			.andExpect(MockMvcResultMatchers.status().is(HttpStatus.NOT_FOUND_404));
	Ven prepare = venService.prepare("ven1");
	prepare.setRegistrationId("mouaiccool");
	venService.save(prepare);
	this.mockMvc
			.perform(MockMvcRequestBuilders.post(VEN_URL + "ven1/cleanRegistration")
					.header("Content-Type", "application/json").with(adminSession))
			.andExpect(MockMvcResultMatchers.status().is(HttpStatus.OK_200));
	Ven findOneByUsername = venService.findOneByUsername("ven1");
	assertNull(findOneByUsername.getRegistrationId());
	venService.delete(findOneByUsername);
}