@Test
public void prepareTest() {

	String username = "ven1";
	Ven prepare = venService.prepare(username);
	assertNotNull(prepare);
	assertNull(prepare.getId());
	assertNull(prepare.getBasicPassword());
	assertNull(prepare.getDigestPassword());
	assertEquals(username, prepare.getUsername());
	venService.save(prepare);
	assertNotNull(prepare);
	assertNotNull(prepare.getId());
	assertNull(prepare.getBasicPassword());
	assertNull(prepare.getDigestPassword());
	assertEquals(username, prepare.getUsername());
	venService.delete(prepare);
	prepare = venService.prepare(username, "ven1");
	assertNotNull(prepare);
	assertNull(prepare.getId());
	assertNotNull(prepare.getBasicPassword());
	assertNotNull(prepare.getDigestPassword());
	assertEquals(username, prepare.getUsername());
	String profil = "20a";
	String transport = "http";
	VenCreateDto dto = new VenCreateDto();
	dto.setUsername(username);
	dto.setPassword("ven1");
	dto.setOadrProfil(profil);
	dto.setTransport(transport);
	prepare = venService.prepare(dto);
	assertNotNull(prepare);
	assertNull(prepare.getId());
	assertNotNull(prepare.getBasicPassword());
	assertNotNull(prepare.getDigestPassword());
	assertEquals(username, prepare.getUsername());
	assertEquals(profil, prepare.getOadrProfil());
	assertEquals(transport, prepare.getTransport());
}