@Test
	public void testEditUser() {
		man.saveUser(User);
		User = new User(new Long(1), "password", "name", "surname", "login2",
				"email2", "phone", false);
		man.editUser(User);

		List<User> testList = man.getUsers();

		Assert.assertEquals(User, testList.get(0));
		Assert.assertEquals(User.getId(), testList.get(0).getId());
		Assert.assertEquals(User.getPassword(), testList.get(0).getPassword());
		Assert.assertEquals(User.getFirstName(), testList.get(0)
				.getFirstName());
		Assert.assertEquals(User.getLastName(), testList.get(0).getLastName());
		Assert.assertEquals(User.getLogin(), testList.get(0).getLogin());
		Assert.assertEquals(User.getEmail(), testList.get(0).getEmail());
		Assert.assertEquals(User.getTel(), testList.get(0).getTel());
	}